//A. Constructor Instantiation public RemoteService_Director_Of_WebDevelopment_Chapter_12_3_Page_6_OutputOrderFormScreen_Handler_1_0(SingleParmPoco_12_2_1_0 parameterInputs) { #region 1. INPUTS #region DEFINE control variables #endregion #region DEFINE input variables #endregion #region DEFINE process variables #endregion #region DEFINE output variables #endregion /////////////////////////////////////////////////////////// #region MEMORIZE control variables #region MEMORIZE control xxx xxx #endregion #endregion #region MEMORIZE input variables #region MEMORIZE input action name _storedInputRequestActionName = parameterInputs.Parameters["parameterInputRequestActionName"]; #endregion #region MEMORIZE input request details _storedInputRequestName = parameterInputs.Parameters["parameterInputRequestName"]; _storedInputRequestNameDataCacheKey = parameterInputs.Parameters["parameterInputRequestNameDataCacheKey"]; _storedInputs = parameterInputs; #endregion #endregion #region MEMORIZE process variables #region MEMORIZE process request tracker _storedProcessRequestTracker = parameterInputs.Parameters["parameterProcessRequestTracker"]; #endregion #region MEMORIZE process request settings _storedProcessRequestSettings = (IConfiguration)_storedProcessRequestTracker["storedProcessRequestSettings"]; #endregion #region MEMORIZE process centralized handlers _storedProcessRequestCentralizedDisturber = parameterInputs.Parameters["parameterProcessRequestCentralizedDisturber"]; _storedProcessRequestCentralizedSensor = parameterInputs.Parameters["parameterProcessRequestCentralizedSensor"]; _storedProcessRequestCentralizedStorer = parameterInputs.Parameters["parameterProcessRequestCentralizedStorer"]; #endregion #region MEMORIZE process data repository _storedProcessRequestDataRepository = parameterInputs.Parameters["parameterProcessRequestDataRepository"]; #endregion #region MEMORIZE process developer mode bool storedProcessRequestDeveloperMode = _storedProcessRequestSettings.GetValue <bool>("AppSettings:APP_SETTING_DEVELOPER_MODE"); #endregion #region MEMORIZE process request storyline details _storedProcessRequestDataStorylineDetails = parameterInputs.Parameters["parameterProcessRequestDataStorylineDetails"]; _storedProcessRequestDataStorylineDetails_Parameters = parameterInputs.Parameters["parameterProcessRequestDataStorylineDetails_Parameters"]; #endregion #region MEMORIZE process request extra data _storedProcessRequestExtraData = parameterInputs.Parameters["parameterProcessRequestExtraData"] ? parameterInputs.Parameters["parameterProcessRequestExtraData"] : null; #endregion #region MEMORIZE process request details _storedProcessRequestHandler = parameterInputs.Parameters["parameterProcessRequestHandler"]; _storedProcessRequestName = parameterInputs.Parameters["parameterProcessRequestName"]; _storedProcessRequestByName = parameterInputs.Parameters["parameterProcessRequestName"]; #endregion #endregion #region MEMORIZE output variables #region MEMORIZE output xxx xxxx #endregion #endregion #endregion #region 2. PROCESS #region EXECUTE process defaults #region IDEAL CASE - USE defaults handler HandleDefaults(); #endregion #endregion #endregion #region 3. OUTPUT #endregion }
//A. Constructor Instantiation public Page_2_6_Process_StoryExperiences_12_2_1_0(SingleParmPoco_12_2_1_0 parameterInputs) { #region 1. INPUTS #region MEMORIZE control client server _storedProcessRequestTracker = parameterInputs.Parameters["parameterProcessRequestTracker"]; #endregion #region MEMORIZE action name _storedInputRequestActionName = (string)_storedInputs.Parameters["parameterInputRequestActionName"]; #endregion #region MEMORIZE app settings _storedProcessRequestSettings = (IConfiguration)_storedProcessRequestTracker["storedProcessRequestSettings"]; #endregion #region MEMORIZE centralized processes handlers _storedProcessRequestCentralizedDisturber = parameterInputs.Parameters["parameterProcessRequestCentralizedDisturber"]; _storedProcessRequestCentralizedSensor = parameterInputs.Parameters["parameterProcessRequestCentralizedSensor"]; _storedProcessRequestCentralizedStorer = parameterInputs.Parameters["parameterProcessRequestCentralizedStorer"]; #endregion #region MEMORIZE data repository _storedProcessRequestDataRepository = parameterInputs.Parameters["parameterProcessRequestDataRepository"]; #endregion #region MEMORIZE developer mode bool storedProcessRequestDeveloperMode = _storedProcessRequestSettings.GetValue <bool>("AppSettings:APP_SETTING_DEVELOPER_MODE"); #endregion #region MEMORIZE storyline details _storedProcessRequestDataStorylineDetails = parameterInputs.Parameters["parameterProcessRequestDataStorylineDetails"]; _storedProcessRequestDataStorylineDetails_Parameters = parameterInputs.Parameters["parameterProcessRequestDataStorylineDetails_Parameters"]; #endregion #region MEMORIZE extra data _storedProcessRequestExtraData = parameterInputs.Parameters["parameterProcessRequestExtraData"] ? parameterInputs.Parameters["parameterProcessRequestExtraData"] : null; #endregion #region MEMORIZE request details _storedInputRequestName = parameterInputs.Parameters["parameterInputRequestName"]; _storedInputRequestNameDataCacheKey = parameterInputs.Parameters["parameterInputRequestNameDataCacheKey"]; _storedProcessRequestHandler = parameterInputs.Parameters["parameterProcessRequestHandler"]; _storedProcessRequestName = parameterInputs.Parameters["parameterProcessRequestName"]; _storedProcessRequestByName = parameterInputs.Parameters["parameterProcessRequestName"]; _storedProcessRequestRequestHandler = parameterInputs.Parameters["parameterProcessRequestHandler"]; _storedInputs = parameterInputs; #endregion #endregion #region 2. PROCESS #region EXECUTE process defaults #region IDEAL CASE - USE defaults handler HandleDefaults(); #endregion #endregion #endregion #region 3. OUTPUT #endregion }
public static async Task <Exception> Step_X_X_Framework_Control_DeveloperException_1_0(SingleParmPoco_12_2_1_0 parameterInputs) { #region 1. Inputs #region MEMORIZE client/server instance _storedProcessRequestTracker = parameterInputs.Parameters["storedProcessRequestTracker"]; #endregion #region MEMORIZE app settings _storedProcessRequestSettings = (IConfiguration)_storedProcessRequestTracker["storedProcessRequestSettings"]; #endregion #region MEMORIZE developer mode bool storedProcessRequestDeveloperMode = _storedProcessRequestSettings.GetValue <bool>("AppSettings:APP_SETTING_DEVELOPER_MODE"); #endregion #region MEMORIZE exception details _storedProcessRequestMistake = parameterInputs.Parameters["storedProcessRequestMistake"]; #endregion #region MEMORIZE extra data _storedProcessRequestExtraData = parameterInputs.Parameters["storedProcessRequestExtraData"]; #endregion #endregion #region 2. PROCESS try { #region HANDLE application mistake #region EDGE CASE - USE developer logger #endregion #region IDEAL CASE - USE an experience OR a director request handler #endregion #endregion } catch (Exception) { #region EDGE CASE - USE exception handler #endregion } #endregion #region 3. OUTPUT #region RETURN request handler #region IDEAL CASE - USE an experience OR a director handler return(null); #endregion #endregion #endregion }