Пример #1
0
 public ManufacturingResult(ManufacturingTask.StatusCode statusCode)
 {
     Success = (statusCode == ManufacturingTask.StatusCode.Success);
     StatusCode = statusCode;
     _errorParams = null;
 }
Пример #2
0
        private ManufacturingTask CreateManufacturingTask(ManufacturingParameters parameters)
        {
            var manufacturing = new ManufacturingTask(_itemFactory.Object);
            manufacturing.SetParameters(parameters);

            return manufacturing;
        }