Exemplo n.º 1
0
		public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider) {
			this.dispatcher = dispatcher;
			processContext = new ProcessContext(classificationFormatMap, textElementProvider) {
				SyntaxHighlight = syntaxHighlight,
			};
			processList = new ObservableCollection<ProcessVM>();
			Refresh();
		}
Exemplo n.º 2
0
		public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight) {
			this.dispatcher = dispatcher;
			this.processContext = new ProcessContext {
				SyntaxHighlight = syntaxHighlight,
			};
			this.processList = new ObservableCollection<ProcessVM>();
			Refresh();
		}
Exemplo n.º 3
0
 public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight)
 {
     this.dispatcher     = dispatcher;
     this.processContext = new ProcessContext {
         SyntaxHighlight = syntaxHighlight,
     };
     this.processList = new ObservableCollection <ProcessVM>();
     Refresh();
 }
Exemplo n.º 4
0
 public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider)
 {
     this.dispatcher = dispatcher;
     processContext  = new ProcessContext(classificationFormatMap, textElementProvider)
     {
         SyntaxHighlight = syntaxHighlight,
     };
     processList = new ObservableCollection <ProcessVM>();
     Refresh();
 }