/// <summary>
        /// Initializes the CommentsBarModule instance.
        /// </summary>
        public void Initialize()
        {
            this.RegisterViewsAndServices();

            ICommentsBarPresenter presenter = this.container.Resolve <ICommentsBarPresenter>();

            this.regionManager.Regions["CommentsBarRegion"].Add(presenter.View);
        }
Example #2
0
        private void RegisterTimelineCommentRegion()
        {
            ICommentsBarPresenter presenter = this.container.Resolve <ICommentsBarPresenter>(TimelineImplementationName);

            this.regionViewRegistry.RegisterViewWithRegion(RegionNames.CommentsBarRegion, () => presenter.View);
        }