public Region() { if (DesignerProperties.GetIsInDesignMode(this)) { return; } _navigationService = MVVMCNavigationService.GetInstance(); this.Loaded += OnRegionLoaded; this.Unloaded += OnRegionUnloaded; }
public static MVVMCNavigationService GetInstance() { if (_instance != null) { return(_instance); } lock (_lockInstance) { if (_instance != null) { return(_instance); } _instance = new MVVMCNavigationService(); return(_instance); } }
public static INavigationService GetNavigationServiceInstance() { return(MVVMCNavigationService.GetInstance()); }
internal void SetNavigationService(MVVMCNavigationService navigationService) { _navigationService = navigationService; }
public Region() { _navigationService = MVVMCNavigationService.GetInstance(); this.Loaded += OnRegionLoaded; this.Unloaded += OnRegionUnloaded; }