public ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElement Calculate( ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory, IΔParameterElement ΔParameterElement, Ix x) { return(surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory.Create( ΔParameterElement.jIndexElement, ΔParameterElement.Value.SelectMany(a => x.Value.Where(i => i.sIndexElement == a && i.Value).Select(w => w.rIndexElement)).Distinct().Count())); }
public ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElement Calculate( ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory, IjIndexElement jIndexElement, Iw w) { return(surgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory.Create( jIndexElement, w.Value.Where(i => i.jIndexElement == jIndexElement && i.Value).Select(i => i.rIndexElement).Distinct().Count())); }
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 ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory CreateSurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory() { ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory factory = null; try { factory = new SurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory(); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(factory); }
public ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory CreateSurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory() { ISurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory factory = null; try { factory = new SurgicalSpecialtyNumberAssignedOperatingRoomsResultElementFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }