Example #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();
		}
Example #2
0
		public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight) {
			this.dispatcher = dispatcher;
			this.processContext = new ProcessContext {
				SyntaxHighlight = syntaxHighlight,
			};
			this.processList = new ObservableCollection<ProcessVM>();
			Refresh();
		}
Example #3
0
 public AttachProcessVM(Dispatcher dispatcher, bool syntaxHighlight)
 {
     this.dispatcher     = dispatcher;
     this.processContext = new ProcessContext {
         SyntaxHighlight = syntaxHighlight,
     };
     this.processList = new ObservableCollection <ProcessVM>();
     Refresh();
 }
Example #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();
 }