public FrameworkElementCoordinator(IRegionManager regionManager, IViewComposerFactory composerFactory, IServiceContext serviceContext, [NotNull] IBehaviorRunner behaviorRunner)
 {
     RegionManager   = regionManager ?? throw new ArgumentNullException(nameof(regionManager));
     ComposerFactory = composerFactory ?? throw new ArgumentNullException(nameof(composerFactory));
     ServiceContext  = serviceContext ?? throw new ArgumentNullException(nameof(serviceContext));
     BehaviorRunner  = behaviorRunner ?? throw new ArgumentNullException(nameof(behaviorRunner));
 }
 /// <inheritdoc />
 public FrameworkElementComposer(IServiceContext serviceContext,
                                 IEnumerable <IViewComposerHook> composerHooks,
                                 IEnumerable <IViewContextBinder> viewContextBinder,
                                 IBehaviorRunner behaviorRunner)
     : base(serviceContext, composerHooks, behaviorRunner)
 {
     ViewContextBinder = viewContextBinder;
 }
示例#3
0
		public WindowCoordinator(IWindowManager windowManager, IEnumerable<IViewModelWindowFactory> windowFactories, IViewComposerFactory composerFactory, IServiceContext serviceContext, [NotNull] IBehaviorRunner behaviorRunner)
		{
			WindowManager = windowManager ?? throw new ArgumentNullException(nameof(windowManager));
			WindowFactories = windowFactories ?? throw new ArgumentNullException(nameof(windowFactories));
			ComposerFactory = composerFactory ?? throw new ArgumentNullException(nameof(composerFactory));
			ServiceContext = serviceContext ?? throw new ArgumentNullException(nameof(serviceContext));
			BehaviorRunner = behaviorRunner ?? throw new ArgumentNullException(nameof(behaviorRunner));
		}
 protected ViewComposerBase(IServiceContext serviceContext, IEnumerable <IViewComposerHook> composerHooks, IBehaviorRunner behaviorRunner)
 {
     ServiceContext = serviceContext;
     ComposerHooks  = composerHooks;
     BehaviorRunner = behaviorRunner;
 }
 /// <inheritdoc />
 public WindowComposer(IServiceContext serviceContext, IEnumerable <IViewComposerHook> composerHooks, IBehaviorRunner behaviorRunner) : base(serviceContext, composerHooks, behaviorRunner)
 {
 }