Ejemplo n.º 1
0
 public QueryBuilderViewModel(IEventAggregator eventAggregator, DocumentViewModel document, IGlobalOptions globalOptions) : base()
 {
     EventAggregator          = eventAggregator;
     Document                 = document;
     Options                  = globalOptions;
     Title                    = "Builder";
     DefaultDockingPane       = "DockMidLeft";
     IsVisible                = false;
     Columns                  = new QueryBuilderFieldList(EventAggregator);
     Columns.PropertyChanged += OnColumnsPropertyChanged;
 }
Ejemplo n.º 2
0
 public QueryBuilderViewModel(IEventAggregator eventAggregator, DocumentViewModel document, IGlobalOptions globalOptions)
 {
     EventAggregator          = eventAggregator;
     Document                 = document;
     Options                  = globalOptions;
     Filters                  = new QueryBuilderFilterList(GetModelCapabilities);
     IsVisible                = false;
     Columns                  = new QueryBuilderFieldList(EventAggregator);
     Columns.PropertyChanged += OnColumnsPropertyChanged;
     OrderBy                  = new QueryBuilderFieldList(EventAggregator);
     VisibilityChanged       += OnVisibilityChanged;
 }