Beispiel #1
0
        protected override void Initialize()
        {
            base.Initialize();

            ArchiveViewer = new ArchiveViewer
            {
                Pane = this
            };

            Content = ArchiveViewer;
        }
        protected override void Initialize()
        {
            base.Initialize();

            RecycleBinViewer = new ArchiveViewer
            {
                Pane = this
            };

            Content = RecycleBinViewer;
            RecycleBinViewer.GotFocus += delegate { SitecorePackage.Instance.GotFocus(this); };
        }
Beispiel #3
0
        void IDatabaseUriContext.SetDatabaseUri(DatabaseUri databaseUri)
        {
            Debug.ArgumentNotNull(databaseUri, nameof(databaseUri));

            ArchiveViewer.SetDatabaseUri(databaseUri);
        }
Beispiel #4
0
        public ArchiveContext([NotNull] ArchiveViewer archiveViewer)
        {
            Assert.ArgumentNotNull(archiveViewer, nameof(archiveViewer));

            ArchiveViewer = archiveViewer;
        }