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); }
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; } }