コード例 #1
0
 public ItemCategory(int id, I18NString name, ItemCategoryType type, List <ItemType> itemTypes)
 {
     Id        = id;
     Name      = name;
     Type      = type;
     ItemTypes = itemTypes;
 }
コード例 #2
0
 public ItemCategory FindByType(ItemCategoryType type)
 {
     return(LoadData().Where(data => data.Type == type).Select(this.Mapper.ToEntity).FirstOrDefault());
 }