示例#1
0
        /// <summary>
        /// Initializes this instance.
        /// </summary>
        public void Initialize()
        {
            this.RegisterViewsAndServices();

            ILibraryViewPresentationModel presentationModel = this.container.Resolve <ILibraryViewPresentationModel>();

            this.regionManager.RegisterViewWithRegionInIndex(RegionNames.ToolsRegion, presentationModel.View, 0);
        }
        /// <summary>
        /// Initializes this instance.
        /// </summary>
        public void Initialize()
        {
            this.RegisterViewsAndServices();

            ILibraryViewPresentationModel presentationModel = this.container.Resolve <ILibraryViewPresentationModel>();

            this.regionViewRegistry.RegisterViewWithRegion(RegionNames.AssetBrowserRegion, () => presentationModel.View);
        }