/// <summary> /// Initializes the MediaBinModule instance. /// </summary> public void Initialize() { this.RegisterViewsAndServices(); IMediaBinViewPresentationModel presentationModel = this.container.Resolve <IMediaBinViewPresentationModel>(); this.regionManager.RegisterViewWithRegionInIndex(RegionNames.ToolsRegion, presentationModel.View, 1); }
/// <summary> /// Initializes the MediaBinModule instance. /// </summary> public void Initialize() { this.RegisterViewsAndServices(); IMediaBinViewPresentationModel presentationModel = this.container.Resolve <IMediaBinViewPresentationModel>(); this.regionViewRegistry.RegisterViewWithRegion(RegionNames.ProjectBrowserRegion, () => presentationModel.View); }