Exemple #1
0
        protected override void Act()
        {
            attributes = new NameValueCollection();
            attributes.Add("key1", "value1");
            attributes.Add("key2", "value2");

            cacheInCustomStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed <CustomSecurityCacheProvider>("custom provider", attributes);
        }
Exemple #2
0
 protected override void Act()
 {
     cacheInCustomStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed <CustomSecurityCacheProvider>("custom provider");
 }
Exemple #3
0
 protected override void Act()
 {
     customCacheStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed("custom provider", typeof(CustomSecurityCacheProvider));
 }
 protected override void Act()
 {
     cacheInCustomStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed<CustomSecurityCacheProvider>("custom provider");
 }
 protected override void Act()
 {
     customCacheStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed("custom provider", typeof(CustomSecurityCacheProvider));
 }
        protected override void Act()
        {
            attributes = new NameValueCollection();
            attributes.Add("key1", "value1");
            attributes.Add("key2", "value2");

            cacheInCustomStore = ConfigureSecuritySettings.CacheSecurityInCustomStoreNamed<CustomSecurityCacheProvider>("custom provider", attributes);
        }