Example #1
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 TextClassifierTextColorWriter();
     Formatter = new ValueNodeFormatter();
     ValueNodeFormatParameters = new DbgValueNodeFormatParameters();
     FormatCulture             = formatCulture;
 }
Example #2
0
 protected DebuggerValueRawNode(DbgValueNodeReader reader) => this.reader = reader ?? throw new ArgumentNullException(nameof(reader));