public Interfaces.Results.SurgeonOperatingRoomAssignments.Iy GetElementsAt( IyResultElementFactory yResultElementFactory, IyFactory yFactory, Isr sr) { return(yFactory.Create( sr.Value .Select( i => yResultElementFactory.Create( i.sIndexElement, i.rIndexElement, this.GetElementAt( i.sIndexElement, i.rIndexElement))) .ToImmutableList())); }
public IyResultElementFactory CreateyResultElementFactory() { IyResultElementFactory factory = null; try { factory = new yResultElementFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }