/// <summary> /// Initializes a new instance of the <see cref="NotificationService"/> class. /// </summary> /// <param name="regionNavigationContentLoader">The region navigation content loader.</param> /// <param name="regionManager">The region manager.</param> public NotificationService( IRegionNavigationContentLoader regionNavigationContentLoader, IRegionManager regionManager ) { _regionNavigationContentLoader = regionNavigationContentLoader; _regionManager = regionManager; }
/// <summary> /// Initializes a new instance of the <see cref="RegionNavigationService"/> class. /// </summary> /// <param name="container">The <see cref="IContainerExtension" />.</param> /// <param name="regionNavigationContentLoader">The navigation target handler.</param> /// <param name="journal">The journal.</param> public RegionNavigationService(IContainerExtension container, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal) { _container = container ?? throw new ArgumentNullException(nameof(container)); _regionNavigationContentLoader = regionNavigationContentLoader ?? throw new ArgumentNullException(nameof(regionNavigationContentLoader)); Journal = journal ?? throw new ArgumentNullException(nameof(journal)); Journal.NavigationTarget = this; }
/// <summary> /// Initializes a new instance of the <see cref="NotificationService"/> class. /// </summary> /// <param name="regionNavigationContentLoader">The region navigation content loader.</param> /// <param name="regionManager">The region manager.</param> public NotificationService( IRegionNavigationContentLoader regionNavigationContentLoader, IRegionManager regionManager) { _regionNavigationContentLoader = regionNavigationContentLoader; _regionManager = regionManager; }
/// <summary> /// Initializes a new instance of the <see cref="RegionNavigationService"/> class. /// </summary> /// <param name="serviceLocator">The service locator.</param> /// <param name="regionNavigationContentLoader">The navigation target handler.</param> /// <param name="journal">The journal.</param> public RegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal) { if (serviceLocator == null) throw new ArgumentNullException("serviceLocator"); if (regionNavigationContentLoader == null) throw new ArgumentNullException("regionNavigationContentLoader"); if (journal == null) throw new ArgumentNullException("journal"); Contract.EndContractBlock(); this.serviceLocator = serviceLocator; this.regionNavigationContentLoader = regionNavigationContentLoader; this.journal = journal; this.journal.NavigationTarget = this; }
/// <summary> /// Initializes a new instance of the <see cref="RegionNavigationService"/> class. /// </summary> /// <param name="serviceLocator">The service locator.</param> /// <param name="regionNavigationContentLoader">The navigation target handler.</param> /// <param name="journal">The journal.</param> public RegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal) { if (serviceLocator == null) throw new ArgumentNullException(nameof(serviceLocator)); if (regionNavigationContentLoader == null) throw new ArgumentNullException(nameof(regionNavigationContentLoader)); if (journal == null) throw new ArgumentNullException(nameof(journal)); this.serviceLocator = serviceLocator; this.regionNavigationContentLoader = regionNavigationContentLoader; this.journal = journal; this.journal.NavigationTarget = this; }
public RegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal) { if (serviceLocator == null) { throw new ArgumentNullException("serviceLocator"); } if (regionNavigationContentLoader == null) { throw new ArgumentNullException("regionNavigationContentLoader"); } if (journal == null) { throw new ArgumentNullException("journal"); } this.serviceLocator = serviceLocator; this.regionNavigationContentLoader = regionNavigationContentLoader; this.journal = journal; this.journal.NavigationTarget = this; }
/// <summary> /// Initializes a new instance of the <see cref="RegionNavigationService"/> class. /// </summary> /// <param name="serviceLocator">The service locator.</param> /// <param name="regionNavigationContentLoader">The navigation target handler.</param> /// <param name="journal">The journal.</param> public CustomRegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal) { if (serviceLocator == null) { throw new ArgumentNullException("serviceLocator"); } if (regionNavigationContentLoader == null) { throw new ArgumentNullException("regionNavigationContentLoader"); } if (journal == null) { throw new ArgumentNullException("journal"); } this.serviceLocator = serviceLocator; this.regionNavigationContentLoader = regionNavigationContentLoader; this.journal = journal; this.journal.NavigationTarget = this; }
public MefRegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader navigationContentLoader, IRegionNavigationJournal journal) : base(serviceLocator, navigationContentLoader, journal) { }
public MefRegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader navigationContentLoader, IRegionNavigationJournal journal) : base(serviceLocator, navigationContentLoader, journal) { }
/// <summary> /// Initializes a new instance of the <see cref="PopupService"/> class. /// </summary> /// <param name="regionNavigationContentLoader">The region navigation content loader.</param> public PopupService(IRegionNavigationContentLoader regionNavigationContentLoader) { _regionNavigationContentLoader = regionNavigationContentLoader; }
/// <summary> /// Initializes a new instance of the <see cref="PopupService"/> class. /// </summary> /// <param name="regionNavigationContentLoader">The region navigation content loader.</param> public PopupService( IRegionNavigationContentLoader regionNavigationContentLoader ) { _regionNavigationContentLoader = regionNavigationContentLoader; }