Exemple #1
0
        public IScenarioUtilizedTimes Create(
            ImmutableList <IScenarioUtilizedTimesResultElement> value)
        {
            IScenarioUtilizedTimes result = null;

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

            return(result);
        }
        public IScenarioUtilizedTimes Create(
            ImmutableList <IScenarioUtilizedTimesResultElement> value)
        {
            IScenarioUtilizedTimes result = null;

            try
            {
                result = new ScenarioUtilizedTimes(
                    value);
            }
            catch (Exception exception)
            {
                this.Log.Error(
                    exception.Message,
                    exception);
            }

            return(result);
        }