public Interfaces.Results.TP.WardNumberBedAssignments.ITPy GetElementsAt( ITPyResultElementFactory yResultElementFactory, ITPyFactory yFactory, Iw w) { return(yFactory.Create( w.Value .Select( i => yResultElementFactory.Create( i, this.GetElementAt( i))) .ToImmutableList())); }
public ITPyFactory CreateTPyFactory() { ITPyFactory factory = null; try { factory = new TPyFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }