示例#1
0
        public IIHatFactory CreateIHatFactory()
        {
            IIHatFactory factory = null;

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

            return(factory);
        }
示例#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()));
 }
        public IIHatFactory CreateIHatFactory()
        {
            IIHatFactory factory = null;

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

            return(factory);
        }