Exemple #1
0
        protected virtual void OnReport()
        {
            var report = new LibraryManagerReport(this.DatabaseFactory);

            report.InitializeComponent(this.Core);
            this.OnReport(report);
        }
        protected virtual void OnReport(IDictionary <LibraryItem, IList <string> > warnings)
        {
            if (this.State.HasFlag(LibraryManagerState.Updating))
            {
                //Another task was queued.
                return;
            }
            var report = new LibraryManagerReport(warnings);

            report.InitializeComponent(this.Core);
            this.OnReport(report);
        }