示例#1
0
        public void TestSetUp()
        {
            DevKit = new DevKit141Aspect(TestContext);
            var config = new NameValueCollection(ConfigurationManager.AppSettings);

            Provider = new MongoDbMembershipProvider();
            Provider.Initialize(MongoDbMembershipProvider.ProviderName, config);
        }
示例#2
0
        private static MongoDbMembershipProvider GetProvider()
        {
            var config = new NameValueCollection(ConfigurationManager.AppSettings);

            var provider = new MongoDbMembershipProvider();

            provider.Initialize(MongoDbMembershipProvider.ProviderName, config);

            return(provider);
        }