예제 #1
0
        public override void Process()
        {
            result        = new BoolResult();
            result.Result = false;

            try
            {
                result.Result = ProfileLibrary.GenerateProfileData(featureClass, profileSource, tableName);
            }
            catch (Exception ex)
            {
                result.Exception = ex;
            }
        }
예제 #2
0
        public override void Process()
        {
            result        = new BoolResult();
            result.Result = false;

            try
            {
                IEnumerable <string> mesasges = null;
                result.Result = ProfileLibrary.GenerateProfileData(featureClass, profileSource, tableName, mesasges);
                if (mesasges != null && mesasges.Any())
                {
                    mesasges.ToList().ForEach(m => logger.InfoEx(m));
                }
            }
            catch (Exception ex)
            {
                result.Exception = ex;
            }
        }