Exemplo n.º 1
0
        public void AddTags(TagCategoryTypes category)
        {
            var dbContext = Program.NinjectKernel.Get <IRealmDbContext>();
            var tagList   = dbContext.Tags.Where(x => x.TagCategory == category).ToList();

            tagList.ForEach(x => AddTag(x.Id, x.Name));
        }
Exemplo n.º 2
0
 public SystemTagSet(string name, TagCategoryTypes category)
 {
     Name     = name;
     Category = category;
     Tags     = new Dictionary <string, SystemTag>();
     TagsById = new Dictionary <int, SystemTag>();
 }