コード例 #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
        public IαFactory CreateαFactory()
        {
            IαFactory factory = null;

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

            return(factory);
        }