Example #1
0
 private void InitTags(JObject config)
 {
     if (config[block_tags] != null)
     {
         BlockTags.IsChecked = config.BoolValue(block_tags);
     }
     if (config[except_tags] != null)
     {
         List <string> tags = config.ArrayValue <string>(except_tags).ToList();
         foreach (string tag in tags)
         {
             ExceptTagList.Add(tag);
         }
     }
     TagList2ListBox();
 }