示例#1
0
 public ProcessContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider)
 {
     UIDispatcher                  = uiDispatcher;
     ClassificationFormatMap       = classificationFormatMap;
     TextElementProvider           = textElementProvider;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
 }
示例#2
0
 public AttachToProcessContext(IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider, SearchMatcher searchMatcher)
 {
     ClassificationFormatMap       = classificationFormatMap;
     TextElementProvider           = textElementProvider;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
     SearchMatcher = searchMatcher;
 }
示例#3
0
 public CallStackContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextBlockContentInfoFactory textBlockContentInfoFactory)
 {
     UIDispatcher                  = uiDispatcher;
     ClassificationFormatMap       = classificationFormatMap;
     TextBlockContentInfoFactory   = textBlockContentInfoFactory;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
     ClassifiedTextWriter          = new ClassifiedTextWriter();
 }
示例#4
0
 public ModuleBreakpointContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider, SearchMatcher searchMatcher)
 {
     UIDispatcher                  = uiDispatcher;
     ClassificationFormatMap       = classificationFormatMap;
     TextElementProvider           = textElementProvider;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
     SearchMatcher                 = searchMatcher;
 }
示例#5
0
 public ThreadContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextBlockContentInfoFactory textBlockContentInfoFactory, SearchMatcher searchMatcher)
 {
     UIDispatcher                  = uiDispatcher;
     ClassificationFormatMap       = classificationFormatMap;
     TextBlockContentInfoFactory   = textBlockContentInfoFactory;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
     SearchMatcher                 = searchMatcher;
     ClassifiedTextWriter          = new ClassifiedTextWriter();
 }
示例#6
0
 public CodeBreakpointContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider, BreakpointConditionsFormatter breakpointConditionsFormatter, DbgCodeBreakpointHitCountService2 dbgCodeBreakpointHitCountService, SearchMatcher searchMatcher)
 {
     UIDispatcher                     = uiDispatcher;
     ClassificationFormatMap          = classificationFormatMap;
     TextElementProvider              = textElementProvider;
     TextClassifierTextColorWriter    = new DbgTextClassifierTextColorWriter();
     BreakpointConditionsFormatter    = breakpointConditionsFormatter;
     DbgCodeBreakpointHitCountService = dbgCodeBreakpointHitCountService;
     SearchMatcher                    = searchMatcher;
 }
示例#7
0
 public ExceptionContext(UIDispatcher uiDispatcher, IClassificationFormatMap classificationFormatMap, ITextElementProvider textElementProvider, DbgExceptionSettingsService exceptionSettingsService, DbgExceptionFormatterService exceptionFormatterService, SearchMatcher searchMatcher)
 {
     UIDispatcher                  = uiDispatcher;
     ClassificationFormatMap       = classificationFormatMap;
     TextElementProvider           = textElementProvider;
     TextClassifierTextColorWriter = new DbgTextClassifierTextColorWriter();
     ExceptionSettingsService      = exceptionSettingsService;
     ExceptionFormatterService     = exceptionFormatterService;
     SearchMatcher                 = searchMatcher;
 }
示例#8
0
 public ValueNodesContext(UIDispatcher uiDispatcher, IEditValueNodeExpression editValueNodeExpression, string windowContentType, string nameColumnName, string valueColumnName, string typeColumnName, LanguageEditValueProviderFactory languageEditValueProviderFactory, DbgValueNodeImageReferenceService dbgValueNodeImageReferenceService, DbgValueNodeReader dbgValueNodeReader, IClassificationFormatMap classificationFormatMap, ITextBlockContentInfoFactory textBlockContentInfoFactory, CultureInfo formatCulture, ShowMessageBox showMessageBox, Action <string?, bool> onValueNodeAssigned)
 {
     UIDispatcher                   = uiDispatcher;
     EditValueNodeExpression        = editValueNodeExpression;
     WindowContentType              = windowContentType;
     NameColumnName                 = nameColumnName;
     ValueColumnName                = valueColumnName;
     TypeColumnName                 = typeColumnName;
     ShowMessageBox                 = showMessageBox;
     ValueEditValueProvider         = languageEditValueProviderFactory.Create(windowContentType);
     NameEditValueProvider          = languageEditValueProviderFactory.Create(windowContentType);
     OnValueNodeAssigned            = onValueNodeAssigned;
     ValueNodeImageReferenceService = dbgValueNodeImageReferenceService;
     ValueNodeReader                = dbgValueNodeReader;
     ClassificationFormatMap        = classificationFormatMap;
     TextBlockContentInfoFactory    = textBlockContentInfoFactory;
     TextClassifierTextColorWriter  = new DbgTextClassifierTextColorWriter();
     Formatter = new ValueNodeFormatter();
     ValueNodeFormatParameters = new DbgValueNodeFormatParameters();
     FormatCulture             = formatCulture;
 }