public ControllerWithDependencyInjection(IObjectsConstructor object1, IConstructionRecipeCreator object2, ILogger object3, IProductionLineMover object4) { this.ObjConstructor = object1; this.RecipeCreator = object2; this.Logger = object3; this.ProductionLine = object4; }
public ControllerWithDependencyInjection(IObjectsConstructor objectsConstructor, IConstructionRecipeCreator constructionRecipeCreator, ILogger logger, IProductionLineMover productionLineMover) { _objectsConstructor = objectsConstructor; _constructionRecipeCreator = constructionRecipeCreator; _logger = logger; _productionLineMover = productionLineMover; }