示例#1
0
        public override IGlobalSettingsStorageProviderV60 GetProvider()
        {
            AzureGlobalSettingsStorageProvider prov = new AzureGlobalSettingsStorageProvider();

            prov.SetUp(MockHost(), ConfigurationManager.AppSettings["AzureConnString"]);
            prov.Init(MockHost(), ConfigurationManager.AppSettings["AzureConnString"], "");
            return(prov);
        }
示例#2
0
        public void Init()
        {
            AzureGlobalSettingsStorageProvider prov = new AzureGlobalSettingsStorageProvider();

            prov.SetUp(MockHost(), ConfigurationManager.AppSettings["AzureConnString"]);
            prov.Init(MockHost(), ConfigurationManager.AppSettings["AzureConnString"], null);

            Assert.IsNotNull(prov.Information, "Information should not be null");
        }