public ISurgeonGroupNumberAssignedOperatingRooms Calculate( ISurgeonGroupNumberAssignedOperatingRoomsResultElementFactory surgeonGroupNumberAssignedOperatingRoomsResultElementFactory, ISurgeonGroupNumberAssignedOperatingRoomsFactory surgeonGroupNumberAssignedOperatingRoomsFactory, ISurgeonGroupNumberAssignedOperatingRoomsResultElementCalculation surgeonGroupNumberAssignedOperatingRoomsResultElementCalculation, Is s, ITPz z) { return(surgeonGroupNumberAssignedOperatingRoomsFactory.Create( s.Value .Select(w => surgeonGroupNumberAssignedOperatingRoomsResultElementCalculation.Calculate( surgeonGroupNumberAssignedOperatingRoomsResultElementFactory, w, z)) .ToImmutableList())); }
public ISurgeonGroupNumberAssignedOperatingRoomsFactory CreateSurgeonGroupNumberAssignedOperatingRoomsFactory() { ISurgeonGroupNumberAssignedOperatingRoomsFactory factory = null; try { factory = new SurgeonGroupNumberAssignedOperatingRoomsFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }