public Interfaces.Results.SP.WardNumberBedAssignments.ISPy GetElementsAt( ISPyResultElementFactory yResultElementFactory, ISPyFactory yFactory, Iw w) { return(yFactory.Create( w.Value .Select( i => yResultElementFactory.Create( i, this.GetElementAt( i))) .ToImmutableList())); }
public ISPyFactory CreateSPyFactory() { ISPyFactory factory = null; try { factory = new SPyFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }