RefreshWorkItems() публичный Метод

public RefreshWorkItems ( IResultsDocument queryResultsDocument ) : void
queryResultsDocument IResultsDocument
Результат void
Пример #1
0
        public QueryResultsDocumentSelectionObserver(IResultsDocument queryResultsDocument, QueryResultsTotalizerModel queryResultsModel)
        {
            this.queryResultsDocument = queryResultsDocument;
            this.queryResultsModel    = queryResultsModel;

            queryResultsDocument.Loaded   += (sender, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);
            queryResultsDocument.Reloaded += (sender, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);
            queryResultsDocument.Saved    += (s, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);

            queryResultsDocument.SelectionChanged += SelectionChanged;
        }
        public QueryResultsDocumentSelectionObserver(IResultsDocument queryResultsDocument, QueryResultsTotalizerModel queryResultsModel)
        {
            this.queryResultsDocument = queryResultsDocument;
            this.queryResultsModel = queryResultsModel;

            queryResultsDocument.Loaded += (sender, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);
            queryResultsDocument.Reloaded += (sender, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);
            queryResultsDocument.Saved += (s, e) => queryResultsModel.RefreshWorkItems(queryResultsDocument);

            queryResultsDocument.SelectionChanged += SelectionChanged;
        }