コード例 #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);
        }
コード例 #2
0
ファイル: μ.cs プロジェクト: JustinBritt/Ma2013.A.E.O
 public Interfaces.Results.TP.WardDayBedRequirementMeans.Iμ GetElementsAt(
     IμResultElementFactory μResultElementFactory,
     IμFactory μFactory,
     Iwd wd)
 {
     return(μFactory.Create(
                wd.Value
                .Select(
                    i => μResultElementFactory.Create(
                        i.wIndexElement,
                        i.dIndexElement,
                        (decimal)this.GetElementAt(
                            i.wIndexElement,
                            i.dIndexElement)))
                .ToImmutableList()));
 }
コード例 #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);
        }