public ISurgicalSpecialtyNumberAssignedOperatingRooms Calculate( ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory, ISurgicalSpecialtyNumberAssignedOperatingRoomsFactory surgicalSpecialtyNumberAssignedOperatingRoomsFactory, ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementCalculation surgicalSpecialtyNumberAssignedOperatingRoomsResultElementCalculation, IΔ Δ, Ix x) { return(surgicalSpecialtyNumberAssignedOperatingRoomsFactory.Create( Δ.Value .Select(i => surgicalSpecialtyNumberAssignedOperatingRoomsResultElementCalculation.Calculate( surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory, i, x)) .ToImmutableList())); }
public ISurgicalSpecialtyNumberAssignedOperatingRoomsFactory CreateSurgicalSpecialtyNumberAssignedOperatingRoomsFactory() { ISurgicalSpecialtyNumberAssignedOperatingRoomsFactory factory = null; try { factory = new SurgicalSpecialtyNumberAssignedOperatingRoomsFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }