Ejemplo n.º 1
0
        public void ShowUseCase(IActiveAwareUseCaseController useCase)
        {
            var region = regionManager.Regions["NewWindowRegion"];

            region.Add(useCase);
            useCase.IsActive = true;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a main usecase to the list of main usecases
 /// </summary>
 /// <param name="activeAwareUseCaseController"></param>
 public void AddMainUseCase(IActiveAwareUseCaseController activeAwareUseCaseController)
 {
     this.mainUseCases.Add(activeAwareUseCaseController);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Activates the use case.
 /// </summary>
 /// <param name="activeAwareUseCaseController">The active aware use case controller.</param>
 public void ActivateUseCase(IActiveAwareUseCaseController activeAwareUseCaseController)
 {
     this.mainUseCases.Activate(activeAwareUseCaseController);
 }
Ejemplo n.º 4
0
 public void DeactivateUseCase(IActiveAwareUseCaseController activeAwareModuleApplicationController)
 {
     this.mainUseCases.Deactivate(activeAwareModuleApplicationController);
 }