示例#1
0
        public ItFactory CreatetFactory()
        {
            ItFactory factory = null;

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

            return(factory);
        }
        public ItFactory CreatetFactory()
        {
            ItFactory factory = null;

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

            return(factory);
        }