コード例 #1
0
 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()));
 }
コード例 #2
0
        public ISurgeonGroupNumberAssignedOperatingRoomsFactory CreateSurgeonGroupNumberAssignedOperatingRoomsFactory()
        {
            ISurgeonGroupNumberAssignedOperatingRoomsFactory factory = null;

            try
            {
                factory = new SurgeonGroupNumberAssignedOperatingRoomsFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(factory);
        }