static void Main(string[] args) { Irt i = new Irt(5); int res = i + 5; Console.WriteLine(res); }
public override int GetHashCode() { unchecked { int result = base.GetHashCode(); result = (result * 397) ^ (ModifiedTarget != null ? ModifiedTarget.GetHashCode() : 0); result = (result * 397) ^ Irt.GetHashCode(); result = (result * 397) ^ Standard.GetHashCode(); result = (result * 397) ^ (TimeSource.HasValue ? TimeSource.Value : 0); return(result); } }
public override int GetHashCode() { unchecked { int result = base.GetHashCode(); result = (result * 397) ^ (PeptideModSeq != null ? PeptideModSeq.GetHashCode() : 0); result = (result * 397) ^ Irt.GetHashCode(); result = (result * 397) ^ Standard.GetHashCode(); result = (result * 397) ^ (TimeSource.HasValue ? TimeSource.Value : 0); return(result); } }
public Interfaces.Results.OperatingRoomDayAssignedAvailabilities.Iγ GetElementsAt( IγResultElementFactory γResultElementFactory, IγFactory γFactory, Irt rt) { return(γFactory.Create( rt.Value .Select( i => γResultElementFactory.Create( i.rIndexElement, i.tIndexElement, this.GetElementAt( i.rIndexElement, i.tIndexElement))) .ToImmutableList())); }
public Irt Create( ImmutableList <IrtCrossJoinElement> value) { Irt crossJoin = null; try { crossJoin = new rt( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(crossJoin); }
public Irt Create( ImmutableList <IrtCrossJoinElement> value) { Irt crossJoin = null; try { crossJoin = new rt( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(crossJoin); }
public ISurgeonScenarioNumberPatients Calculate( ISurgeonScenarioNumberPatientsResultElementFactory surgeonScenarioNumberPatientsResultElementFactory, ISurgeonScenarioNumberPatientsFactory surgeonScenarioNumberPatientsFactory, ISurgeonScenarioNumberPatientsResultElementCalculation surgeonScenarioNumberPatientsResultElementCalculation, Irt rt, IsΛ sΛ, In n, Ix x) { return(surgeonScenarioNumberPatientsFactory.Create( sΛ.Value .Select(w => surgeonScenarioNumberPatientsResultElementCalculation.Calculate( surgeonScenarioNumberPatientsResultElementFactory, w.sIndexElement, w.ΛIndexElement, rt, n, x)) .ToImmutableList())); }
public ISurgeonScenarioNumberPatientsResultElement Calculate( ISurgeonScenarioNumberPatientsResultElementFactory surgeonScenarioNumberPatientsResultElementFactory, IsIndexElement sIndexElement, IΛIndexElement ΛIndexElement, Irt rt, In n, Ix x) { return(surgeonScenarioNumberPatientsResultElementFactory.Create( sIndexElement, ΛIndexElement, rt.Value .Select(a => x.GetElementAtAsint( sIndexElement, a.rIndexElement, a.tIndexElement) * n.GetElementAtAsint( sIndexElement, ΛIndexElement)) .Sum())); }
public decrt(Irt next) { }