Пример #1
0
 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 ISPyResultElementFactory CreateSPyResultElementFactory()
        {
            ISPyResultElementFactory factory = null;

            try
            {
                factory = new SPyResultElementFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(factory);
        }