Files
mono/mcs/class/System.Web/System.Web.Security/RoleProviderCollection.cs
T
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00

30 lines
548 B
C#

//
// System.Web.Security.RoleProviderCollection
//
// Authors:
// Ben Maurer ([email protected])
//
// (C) 2003 Ben Maurer
//
#if NET_2_0
using System.Configuration.Provider;
namespace System.Web.Security {
public class RoleProviderCollection : ProviderCollection {
public override void Add (IProvider provider)
{
if (provider is IRoleProvider)
base.Add (provider);
else
throw new HttpException ();
}
public IRoleProvider this [string name] {
get { return (IRoleProvider) base [name]; }
}
}
}
#endif