/// <summary>
 /// Функция получения типа одежды
 /// </summary>
 private static IResultValue <Func <ICategoryDomain, IClothesTypeMainDomain> > GetClothesTypeFunc(IClothesTypeBase clothesType) =>
 new ResultValue <Func <ICategoryDomain, IClothesTypeMainDomain> >(
     category => new ClothesTypeMainDomain(clothesType, category));
 /// <summary>
 /// Получить тип одежды
 /// </summary>
 private static ClothesTypeEntity GetClothesType(IClothesTypeBase clothesType,
                                                 string categoryName, CategoryEntity?category,
                                                 IEnumerable <ClothesEntity>?clothes) =>
 public ClothesTypeMainDomain(IClothesTypeBase clothesType, ICategoryDomain category)
     : base(clothesType.Name, clothesType.SizeTypeDefault, category)
 {
 }
Exemple #4
0
 public ClothesTypeEntity(IClothesTypeBase clothesType, CategoryEntity category)
     : this(clothesType.Name, clothesType.SizeTypeDefault, category)
 {
 }
Exemple #5
0
 public ClothesTypeEntity(IClothesTypeBase clothesType, string categoryName)
     : this(clothesType.Name, clothesType.SizeTypeDefault, categoryName, null, null)
 {
 }
Exemple #6
0
 public ClothesTypeEntity(IClothesTypeBase clothesType)
     : this(clothesType.Name, clothesType.SizeTypeDefault, clothesType.CategoryName)
 {
 }
Exemple #7
0
 public ClothesTypeMainTransfer(IClothesTypeBase clothesType, CategoryTransfer category)
     : base(clothesType.Name, clothesType.SizeTypeDefault, category)
 {
 }
Exemple #8
0
 public ClothesTypeTransfer(IClothesTypeBase clothesType)
     : this(clothesType.Name, clothesType.SizeTypeDefault, clothesType.CategoryName)
 {
 }