public ManufacturingResult(ManufacturingTask.StatusCode statusCode) { Success = (statusCode == ManufacturingTask.StatusCode.Success); StatusCode = statusCode; _errorParams = null; }
private ManufacturingTask CreateManufacturingTask(ManufacturingParameters parameters) { var manufacturing = new ManufacturingTask(_itemFactory.Object); manufacturing.SetParameters(parameters); return manufacturing; }