/// <summary> /// Triggers SelectedCommandInSelectedModuleNeedsImportModule. /// </summary> /// <param name="e">Event arguments.</param> private void OnSelectedCommandInSelectedModuleNeedsImportModule(ImportModuleEventArgs e) { EventHandler <ImportModuleEventArgs> handler = this.SelectedCommandInSelectedModuleNeedsImportModule; if (handler != null) { handler(this, e); } }
/// <summary> /// Called when the SelectedCommandNeedsImportModule event is triggered in the Selected Module. /// </summary> /// <param name="sender">Event sender.</param> /// <param name="e">Event arguments.</param> private void SelectedModule_SelectedCommandNeedsImportModule(object sender, ImportModuleEventArgs e) { this.OnSelectedCommandInSelectedModuleNeedsImportModule(e); }
/// <summary> /// Triggers SelectedCommandInSelectedModuleNeedsImportModule /// </summary> /// <param name="e">event arguments</param> private void OnSelectedCommandInSelectedModuleNeedsImportModule(ImportModuleEventArgs e) { EventHandler<ImportModuleEventArgs> handler = this.SelectedCommandInSelectedModuleNeedsImportModule; if (handler != null) { handler(this, e); } }
/// <summary> /// Handles the SelectedCommandInSelectedModuleNeedsImportModule event /// </summary> /// <param name="sender">event sender</param> /// <param name="e">event arguments</param> private void CommandNeedsImportModule(object sender, ImportModuleEventArgs e) { this.commandNeedingImportModule = e.CommandName; this.parentModuleNeedingImportModule = e.ParentModuleName; this.selectedModuleNeedingImportModule = e.SelectedModuleName; this.allModulesViewModel.WaitMessageDisplayed = true; this.ImportModuleNeeded.Set(); }
/// <summary> /// Called when the SelectedCommandNeedsImportModule event is triggered in the Selected Module /// </summary> /// <param name="sender">event sender</param> /// <param name="e">event arguments</param> private void SelectedModule_SelectedCommandNeedsImportModule(object sender, ImportModuleEventArgs e) { this.OnSelectedCommandInSelectedModuleNeedsImportModule(e); }