Esempio n. 1
0
        public IγFactory CreateγFactory()
        {
            IγFactory factory = null;

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

            return(factory);
        }
Esempio n. 2
0
 public Interfaces.Results.OperatingRoomDayAssignedAvailabilities.Iγ GetElementsAt(
     IγResultElementFactory γResultElementFactory,
     IγFactory γFactory,
     Irt rt)
 {
     return(γFactory.Create(
                rt.Value
                .Select(
                    i => γResultElementFactory.Create(
                        i.rIndexElement,
                        i.tIndexElement,
                        this.GetElementAt(
                            i.rIndexElement,
                            i.tIndexElement)))
                .ToImmutableList()));
 }
Esempio n. 3
0
        public IγFactory CreateγFactory()
        {
            IγFactory factory = null;

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

            return(factory);
        }