123456789101112131415161718192021222324252627 |
- using BuildProcess.Core.Mvvm;
- using BuildProcess.Services.Interfaces;
- using Prism.Regions;
- namespace BuildProcess.Modules.ModuleName.ViewModels
- {
- public class ViewAViewModel : RegionViewModelBase
- {
- private string _message;
- public string Message
- {
- get { return _message; }
- set { SetProperty(ref _message, value); }
- }
- public ViewAViewModel(IRegionManager regionManager, IMessageService messageService) :
- base(regionManager)
- {
- Message = messageService.GetMessage();
- }
- public override void OnNavigatedTo(NavigationContext navigationContext)
- {
- //do something
- }
- }
- }
|