Exemplo n.º 1
0
 ValueNodesVMFactoryImpl(UIDispatcher uiDispatcher, ITreeViewService treeViewService, LanguageEditValueProviderFactory languageEditValueProviderFactory, DbgValueNodeImageReferenceService dbgValueNodeImageReferenceService, DebuggerSettings debuggerSettings, DbgEvalFormatterSettings dbgEvalFormatterSettings, DbgObjectIdService dbgObjectIdService, IClassificationFormatMapService classificationFormatMapService, ITextBlockContentInfoFactory textBlockContentInfoFactory, IMenuService menuService, IWpfCommandService wpfCommandService)
 {
     uiDispatcher.VerifyAccess();
     this.uiDispatcher    = uiDispatcher;
     this.treeViewService = treeViewService;
     this.languageEditValueProviderFactory  = languageEditValueProviderFactory;
     this.dbgValueNodeImageReferenceService = dbgValueNodeImageReferenceService;
     this.debuggerSettings               = debuggerSettings;
     this.dbgEvalFormatterSettings       = dbgEvalFormatterSettings;
     this.dbgObjectIdService             = dbgObjectIdService;
     this.classificationFormatMapService = classificationFormatMapService;
     this.textBlockContentInfoFactory    = textBlockContentInfoFactory;
     this.menuService       = menuService;
     this.wpfCommandService = wpfCommandService;
 }
Exemplo n.º 2
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;
 }