Exemplo n.º 1
0
 //////////////////////////////////////////////////////////////
 public UBSModuleDelegates(SendMessageDelegate pSendMessageFunction,
                           GetAvailableModuleNamesDelegate pGetAvailableModulesFunction,
                           GetModule pGetModule,
                           LogDelegate pLogFunction,
                           WriteConsoleDelegate pWriteConsoleFunction,
                           NotifyDelegate pNotifyFunction,
                           ErrorDelegate pErrorFunction,
                           ExecutionTimeDelegate pExecutionTimeFunction,
                           SetGlobalParameterDelegate pSetGlobalParameterFunction,
                           GetGlobalParameterDelegate pGetGlobalParameterFunction,
                           GoToModuleDelegate pGoToModuleFunction,
                           ButtonColorDelegate pButtonColoFunction)
 {
     SendMessageFunction         = pSendMessageFunction;
     GetAvailableModulesFunction = pGetAvailableModulesFunction;
     GetModule                  = pGetModule;
     LogFunction                = pLogFunction;
     WriteConsoleFunction       = pWriteConsoleFunction;
     NotifyFunction             = pNotifyFunction;
     ErrorFunction              = pErrorFunction;
     ExecutionTimeFunction      = pExecutionTimeFunction;
     SetGlobalParameterFunction = pSetGlobalParameterFunction;
     GetGlobalParameterFunction = pGetGlobalParameterFunction;
     GoToModuleFunction         = pGoToModuleFunction;
     ButtonColorFunction        = pButtonColoFunction;
 }
Exemplo n.º 2
0
 //////////////////////////////////////////////////////////////
 public void AppendDelegates(UBSModuleDelegates module_delegates)
 {
     this.SendMessageFunction         = module_delegates.SendMessageFunction;
     this.GetAvailableModulesFunction = module_delegates.GetAvailableModulesFunction;
     this.GetModuleFunction           = module_delegates.GetModule;
     this.LogFunction                = module_delegates.LogFunction;
     this.WriteConsoleFunction       = module_delegates.WriteConsoleFunction;
     this.NotifyFunction             = module_delegates.NotifyFunction;
     this.ErrorFunction              = module_delegates.ErrorFunction;
     this.ExecutionTimeFunction      = module_delegates.ExecutionTimeFunction;
     this.SetGlobalParameterFunction = module_delegates.SetGlobalParameterFunction;
     this.GetGlobalParameterFunction = module_delegates.GetGlobalParameterFunction;
     this.GoToModuleFunction         = module_delegates.GoToModuleFunction;
     this.ButtonColorFunction        = module_delegates.ButtonColorFunction;
 }