private static SimpleMembershipProvider CreateDefaultSimpleMembershipProvider(string name, System.Web.Security.MembershipProvider currentDefault) { var membership = new SimpleMembershipProvider(previousProvider: currentDefault); NameValueCollection config = new NameValueCollection(); membership.Initialize(name, config); return(membership); }
private static SimpleMembershipProvider CreateDefaultSimpleMembershipProvider(string name, MembershipProvider currentDefault) { MembershipProvider previousProvider = currentDefault; SimpleMembershipProvider provider = new SimpleMembershipProvider(previousProvider); NameValueCollection config = new NameValueCollection(); provider.Initialize(name, config); return(provider); }
private static SimpleMembershipProvider CreateDefaultSimpleMembershipProvider(string name, MembershipProvider currentDefault) { var membership = new SimpleMembershipProvider(previousProvider: currentDefault); NameValueCollection config = new NameValueCollection(); membership.Initialize(name, config); return membership; }