コード例 #1
0
        protected override void Initialize()
        {
            base.Initialize();

            LogViewer = new LogViewer
            {
                Pane = this
            };

            Content             = LogViewer;
            LogViewer.GotFocus += delegate { SitecorePackage.Instance.GotFocus(this); };
        }
コード例 #2
0
        public void SetSite(Site site)
        {
            Assert.ArgumentNotNull(site, nameof(site));

            LogViewer.SetSite(site);
        }
コード例 #3
0
        public LogViewerContext([NotNull] LogViewer logViewer)
        {
            Assert.ArgumentNotNull(logViewer, nameof(logViewer));

            LogViewer = logViewer;
        }