private static SimpleRoleProvider CreateDefaultSimpleRoleProvider(string name, RoleProvider currentDefault) { var roleProvider = new SimpleRoleProvider(previousProvider: currentDefault); NameValueCollection config = new NameValueCollection(); roleProvider.Initialize(name, config); return(roleProvider); }
private static SimpleRoleProvider CreateDefaultSimpleRoleProvider(string name, RoleProvider currentDefault) { var roleProvider = new SimpleRoleProvider(previousProvider: currentDefault); NameValueCollection config = new NameValueCollection(); roleProvider.Initialize(name, config); return roleProvider; }