public ProductController(IProductService productService, IConfiguration configuration, IBillService billService, IProductCategoryService productCategoryService, ISizeService sizeService, IColorService colorService) { _productService = productService; _productCategoryService = productCategoryService; _sizeService = sizeService; _colorService = colorService; _configuration = configuration; _billService = billService; }
public ColorsController(IColorService entityService) { _entityService = entityService; }
public ColorsController(IColorService colorService, IMapper mapper) { _colorService = colorService; _mapper = mapper; }
public ColorsController(IColorService colorServices) { _colorServices = colorServices; }
public ColorController(IColorService colorService, IProductService productService) { _colorService = colorService; _productService = productService; }
public CarManager(ICarDal carDal, IColorService colors) { _CarDal = carDal; _colorService = colors; }
public ColorsController(IColorService colorService) // Bağımlılıkları minimize ederek, Business katmanı soyutu eklenir { _colorService = colorService; }
public ColorsController(IColorService colorManager) { _colorManager = colorManager; }
public ColorController(IColorService colorService, ColorModelFactory colorModelFactory) { _colorService = colorService; _colorModelFactory = colorModelFactory; }
public SearchController(IEventService eventService, IElasticClient elasticClient, IColorService colorService, ICalendarService calendarService) { this.eventService = eventService; this.elasticClient = elasticClient; this.colorService = colorService; this.calendarService = calendarService; }
public ColorServiceTests() { _service = new ColorService( new BricklinkCatalogApi(), new AppDataService()); }
public ProductController(IProductService productService, IProductCategoryService productCategoryService, IConfiguration configuration, ISizeService sizeService, IColorService colorService, ITagService tagService, IBlogService blogService, IAdvertisementService advertisementService, UserManager <AppUser> userManager) { this._productCategoryService = productCategoryService; this._advertisementService = advertisementService; this._productService = productService; this._configuration = configuration; this._colorService = colorService; this._sizeService = sizeService; this._tagService = tagService; this._blogService = blogService; this._userManager = userManager; }
public RandomColorController(IColorService colorService) { _colorService = colorService; }
public ColorController(IColorService colorService) { _colorService = colorService; }
public ColorController(IColorService service) { _service = service; }
public ColorsController(IMapper mapper, IColorService colorService) { _mapper = mapper; _colorService = colorService; }
public ColorController(IColorService IColor) { Color = IColor; }
public CarManager(ICarDal carDal, IBrandService brandService, IColorService colorService) { _carDal = carDal; _brandService = brandService; _colorService = colorService; }
public List <Painting> GetAllPaintings(IColorService colorService) { return(ConvertLinesToPaintings(File.ReadAllLines(FilePath), 1, File.ReadAllLines(FilePath).Length - 1, colorService)); }
public ColorsController(IColorService colorService, ICarService carService) { _colorService = colorService; _carService = carService; }
public List <Painting> GetPaintingsOfSeason(int season, IColorService colorService) { List <Painting> paintings = ConvertLinesToPaintings(File.ReadAllLines(FilePath), 1, File.ReadAllLines(FilePath).Length - 1, colorService); return(paintings.Where(p => p.Season == season).ToList()); }
public FrmRenkEkle() { InitializeComponent(); _colorService = new ColorManager(new EfColorDal()); }
public Painting GetPainting(int id, IColorService colorService) { Painting painting = ConvertLinesToPaintings(File.ReadAllLines(FilePath), id, 1, colorService).FirstOrDefault(); return(painting); }
public AdminController(IFuelTypeService fuelTypeService, IColorTypeService colorTypeService, IBodyTypeService bodyTypeService, IGearTypeService gearTypeService, IModelService modelService, IUserService userService, ICarService carService, IBrandService brandService, IExtraService extraService, IColorService colorService) { this.brandService = brandService; this.fuelTypeService = fuelTypeService; this.colorTypeService = colorTypeService; this.bodyTypeService = bodyTypeService; this.gearTypeService = gearTypeService; this.modelService = modelService; this.userService = userService; this.carService = carService; this.extraService = extraService; this.colorService = colorService; }
private List <Painting> ConvertLinesToPaintings(string[] csvLines, int startLine, int totalLines, IColorService colorService) { csvLines = csvLines.AsSpan(startLine, totalLines).ToArray(); List <Painting> paintings = new List <Painting>(); foreach (var csvLine in csvLines) { string[] csvPainting = csvLine.Split(','); string[] csvColors = csvPainting .AsSpan(7, csvPainting.Length - 7).ToArray(); csvColors[0] = csvColors[0].TrimStart('/', '"'); csvColors[csvColors.Length - 1] = csvColors.Last().TrimEnd('"', '/'); List <Color> colors = new List <Color>(); foreach (var csvColor in csvColors) { colors.Add(colorService.GetColor(csvColor)); } Painting painting = new Painting { Id = Int32.TryParse(csvPainting[0], out int i) ? i : -1, Title = csvPainting[1], Season = Int32.TryParse(csvPainting[2], out int s) ? s : 0, Episode = Int32.TryParse(csvPainting[3], out int e) ? e : 0, ThumbnailFile = csvPainting[4], Description = csvPainting[5], VideoUrl = csvPainting[6], Colors = colors }; paintings.Add(painting); } return(paintings); } }
public ColorController(IColorService colorservice, IMemoryCache cache, IMapper mapper) { _colorService = colorservice; _cache = cache; _mapper = mapper; }
public ColoresController(IColorService colorService, IMapper mapper, IUriService uriService) { _colorService = colorService; _mapper = mapper; _uriService = uriService; }
public EventPublisherViewModel(IColorService colorService) { _colorService = colorService; SelectedColorGroup = _colorService.GetDefaultColorGroup(); }
public ColorsController(IColorService Colorservice) { _Colorservice = Colorservice; }
public ColorsController(IColorService colorService) { _colorService = colorService; }
public HomeController(IColorService colorService) { _colorService = colorService; }
public ColorHub(IColorService colorService) { _colorService = colorService; }
public CarsController(ICarService carManager, IBrandService brandService, IColorService colorService) { _carManager = carManager; _colorService = colorService; _brandService = brandService; }