Пример #1
0
        public IyFactory CreateyFactory()
        {
            IyFactory factory = null;

            try
            {
                factory = new yFactory();
            }
            catch (Exception exception)
            {
                this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace);
            }

            return(factory);
        }
Пример #2
0
 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()));
 }
Пример #3
0
        public IyFactory CreateyFactory()
        {
            IyFactory factory = null;

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

            return(factory);
        }