protected override void Initialize() { base.Initialize(); LogViewer = new LogViewer { Pane = this }; Content = LogViewer; LogViewer.GotFocus += delegate { SitecorePackage.Instance.GotFocus(this); }; }
public void SetSite(Site site) { Assert.ArgumentNotNull(site, nameof(site)); LogViewer.SetSite(site); }
public LogViewerContext([NotNull] LogViewer logViewer) { Assert.ArgumentNotNull(logViewer, nameof(logViewer)); LogViewer = logViewer; }