Example #1
0
        private static void GetFunctionMetaData()
        {
            const string FUNCTION_NAME = "ZBC_GET_JOBS";

            IFunctionMetaDataManager manager  = ServiceProvider.GetRequiredService <IFunctionMetaDataManager>();
            List <ParameterMetaData> metaData = manager.GetFunctionMetaData(FUNCTION_NAME);

            manager.Print(metaData);
        }
Example #2
0
        public IActionResult GetFunctionMetaData()
        {
            try
            {
                const string FUNCTION_NAME = "ZBC_GET_JOBS";

                IFunctionMetaDataManager manager  = _serviceProvider.GetRequiredService <IFunctionMetaDataManager>();
                List <ParameterMetaData> metaData = manager.GetFunctionMetaData(FUNCTION_NAME);
                return(View(metaData));
            }
            catch (Exception e)
            {
                _logger.LogError(e, "GetFunctionMetaData Execution Error");
                throw;
            }
        }