public Interfaces.Results.TP.WardSpareBeds.IδPlus GetElementsAt( IδPlusResultElementFactory δPlusResultElementFactory, IδPlusFactory δPlusFactory, Iw w) { return(δPlusFactory.Create( w.Value .Select( i => δPlusResultElementFactory.Create( i, (decimal)this.GetElementAt( i))) .ToImmutableList())); }
public Interfaces.Results.TP.WardDayBedAvailabilityDeviations.IδPlus GetElementsAt( IδPlusResultElementFactory δPlusResultElementFactory, IδPlusFactory δPlusFactory, Iwd wd) { return(δPlusFactory.Create( wd.Value .Select( i => δPlusResultElementFactory.Create( i.wIndexElement, i.dIndexElement, (decimal)this.GetElementAt( i.wIndexElement, i.dIndexElement))) .ToImmutableList())); }