/// <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) { }
public ClothesTypeEntity(IClothesTypeBase clothesType, CategoryEntity category) : this(clothesType.Name, clothesType.SizeTypeDefault, category) { }
public ClothesTypeEntity(IClothesTypeBase clothesType, string categoryName) : this(clothesType.Name, clothesType.SizeTypeDefault, categoryName, null, null) { }
public ClothesTypeEntity(IClothesTypeBase clothesType) : this(clothesType.Name, clothesType.SizeTypeDefault, clothesType.CategoryName) { }
public ClothesTypeMainTransfer(IClothesTypeBase clothesType, CategoryTransfer category) : base(clothesType.Name, clothesType.SizeTypeDefault, category) { }
public ClothesTypeTransfer(IClothesTypeBase clothesType) : this(clothesType.Name, clothesType.SizeTypeDefault, clothesType.CategoryName) { }