예제 #1
0
        public async Task AddTagTest()
        {
            await ConfigStore.AddTagAsync("key1", "value1");

            ConfigurationStore configurationStore = await ResGroup.GetConfigurationStores().GetAsync(ConfigurationStoreName);

            KeyValuePair <string, string> tag = configurationStore.Data.Tags.FirstOrDefault();

            Assert.IsTrue("key1".Equals(tag.Key));
            Assert.IsTrue("value1".Equals(tag.Value));
        }