BgEngine.Security.Services.CodeFirstSecurity.VerifyProvider C# (CSharp) Method

VerifyProvider() private static method

private static VerifyProvider ( ) : CodeFirstExtendedProvider
return BgEngine.Infraestructure.Security.CodeFirstExtendedProvider
        private static CodeFirstExtendedProvider VerifyProvider()
        {
            CodeFirstExtendedProvider provider = Membership.Provider as CodeFirstExtendedProvider;
            if (provider == null)
            {
                throw new InvalidOperationException("Provider Is Not ExtendedMembershipProvider");
            }
            return provider;
        }