public IIHatResultElementFactory CreateIHatResultElementFactory()
        {
            IIHatResultElementFactory factory = null;

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

            return(factory);
        }
Exemplo n.º 2
0
 public Interfaces.Results.DayScenarioRecoveryWardCensuses.IIHat GetElementsAt(
     IIHatResultElementFactory IHatResultElementFactory,
     IIHatFactory IHatFactory,
     ItΛ tΛ)
 {
     return(IHatFactory.Create(
                tΛ.Value
                .Select(
                    i => IHatResultElementFactory.Create(
                        i.tIndexElement,
                        i.ΛIndexElement,
                        this.GetElementAt(
                            i.tIndexElement,
                            i.ΛIndexElement)))
                .ToImmutableList()));
 }
Exemplo n.º 3
0
        public IIHatResultElementFactory CreateIHatResultElementFactory()
        {
            IIHatResultElementFactory factory = null;

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

            return(factory);
        }