public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator, NatvisStringFormatter stringFormatter) { _logger = logger; _evaluator = evaluator; _stringFormatter = stringFormatter; }
public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator, IVariableNameTransformer nameTransformer) { _logger = logger; _evaluator = evaluator; _nameTransformer = nameTransformer; }
public UnsupportedNatvisEntity(IVariableInformation variable, Type entityType, NatvisDiagnosticLogger logger) { _variable = variable; _entityType = entityType; _logger = logger; }
public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator, NatvisSizeParser sizeParser) { _logger = logger; _evaluator = evaluator; _sizeParser = sizeParser; }
public static void LogExpandChildrenValidationError(NatvisLoggingLevel loggingLevel, NatvisDiagnosticLogger logger, string visualizerName, string typeName, string errorCause) { LogAndGetExpandChildrenValidationError(loggingLevel, logger, visualizerName, typeName, errorCause); }
ExpandedItemEntity(IVariableInformation variable, NatvisScope natvisScope, ExpandedItemType expandedItem, NatvisDiagnosticLogger logger, NatvisEntityStore store, NatvisExpressionEvaluator evaluator) : base(variable, logger, evaluator, natvisScope) { _expandedItem = expandedItem; _store = store; }
protected LeafEntity(IVariableInformation variable, NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator, NatvisScope natvisScope) { _variable = variable; _logger = logger; _evaluator = evaluator; _natvisScope = natvisScope; }
public static ErrorVariableInformation LogAndGetEvaluationError( NatvisDiagnosticLogger logger, string natvisType, string parentType, string displayName, string errorCause) { logger.Error(() => $"Failed to evaluate {natvisType} node" + $" for {displayName}, type: {parentType}."); return(new ErrorVariableInformation(displayName, $"<Error> Reason: {errorCause}")); }
public NatvisVisualizerScanner(NatvisDiagnosticLogger logger, NatvisLoader natvisLoader, JoinableTaskContext taskContext) { _logger = logger; _natvisLoader = natvisLoader; _taskContext = taskContext; InitDataStructures(); }
public static ErrorVariableInformation LogAndGetExpandChildrenValidationError( NatvisLoggingLevel loggingLevel, NatvisDiagnosticLogger logger, string visualizerName, string typeName, string errorCause) { string errMessage = $"(Natvis) Failed to expand {visualizerName} node for type " + $"'{typeName}'. Reason: {errorCause}."; logger.Log(loggingLevel, errMessage); return(new ErrorVariableInformation("<Error>", errMessage)); }
TreeItemsEntity(IVariableInformation variable, NatvisScope natvisScope, TreeItemsType treeItems, NatvisDiagnosticLogger logger, NatvisEntityStore store, NatvisExpressionEvaluator evaluator, NatvisSizeParser sizeParser) : base(variable, logger, evaluator, natvisScope) { _treeItems = treeItems; _store = store; _sizeParser = sizeParser; }
CustomListItemsEntity(IVariableInformation variable, NatvisScope natvisScope, CustomListItemsType customList, NatvisDiagnosticLogger logger, NatvisEntityStore store, NatvisExpressionEvaluator evaluator, IVariableNameTransformer nameTransformer, CodeBlockParser parser) : base(variable, logger, evaluator, natvisScope) { _customList = customList; _store = store; _nameTransformer = nameTransformer; _parser = parser; }
SmartPointerEntity(NatvisExpressionEvaluator evaluator, NatvisDiagnosticLogger logger, IVariableInformation variable, SmartPointerType smartPointerItem, NatvisScope natvisScope, IChildAdapter fallbackAdapter) { _evaluator = evaluator; _logger = logger; _variable = variable; _smartPointerItem = smartPointerItem; _natvisScope = natvisScope; _fallbackAdapter = fallbackAdapter; }
SyntheticItemEntity(IVariableInformation variable, NatvisScope natvisScope, SyntheticItemType item, NatvisDiagnosticLogger logger, NatvisEntityStore store, NatvisExpressionEvaluator evaluator, NatvisStringFormatter stringFormatter, NatvisCollectionEntity.Factory natvisCollectionFactory) : base(variable, logger, evaluator, natvisScope) { _item = item; _store = store; _stringFormatter = stringFormatter; _natvisCollectionFactory = natvisCollectionFactory; }
public NatvisStringFormatter(NatvisExpressionEvaluator evaluator, NatvisDiagnosticLogger logger, NatvisVisualizerScanner visualizerScanner, ITaskExecutor taskExecutor) { _curFormatStringElementDepth = 0; _evaluator = evaluator; _logger = logger; _visualizerScanner = visualizerScanner; _taskExecutor = taskExecutor; }
public NatvisLoader(JoinableTaskContext taskContext, ITaskExecutor taskExecutor, NatvisDiagnosticLogger logger, INatvisFileSource solutionNatvisFiles, NatvisValidator.Factory validatorFactory, IWindowsRegistry winRegistry, IFileSystem fileSystem) { _taskContext = taskContext; _taskExecutor = taskExecutor; _logger = logger; _solutionNatvisFiles = solutionNatvisFiles; _validatorFactory = validatorFactory; _winRegistry = winRegistry; _fileSystem = fileSystem; }
public NatvisExpressionEvaluator(NatvisDiagnosticLogger logger, VsExpressionCreator vsExpressionCreator, IExtensionOptions extensionOptions, ExpressionEvaluationRecorder expressionEvaluationRecorder, ITimeSource timeSource) { _logger = logger; _vsExpressionCreator = vsExpressionCreator; // Instead of relying on the ExpressionEvaluationEngine flag directly, use // IExtensionOptions to get the flag. This will pick up configuration changes in // runtime. _extensionOptions = extensionOptions; _expressionEvaluationRecorder = expressionEvaluationRecorder; _timeSource = timeSource; }
public Factory(ItemEntity.Factory itemFactory, SyntheticItemEntity.Factory syntheticItemFactory, ExpandedItemEntity.Factory expandedItemFactory, IndexListItemsEntity.Factory indexListItemsFactory, ArrayItemsEntity.Factory arrayItemsFactory, LinkedListItemsEntity.Factory linkedListItemsFactory, TreeItemsEntity.Factory treeItemsFactory, CustomListItemsEntity.Factory customListItemsFactory, NatvisDiagnosticLogger logger, Func <bool> natvisExperimentsEnabled) { _itemFactory = itemFactory; _syntheticItemFactory = syntheticItemFactory; _expandedItemFactory = expandedItemFactory; _indexListItemsFactory = indexListItemsFactory; _arrayItemsFactory = arrayItemsFactory; _linkedListItemsFactory = linkedListItemsFactory; _treeItemsFactory = treeItemsFactory; _customListItemsFactory = customListItemsFactory; _logger = logger; _natvisExperimentsEnabled = natvisExperimentsEnabled; }
private NatvisValidator(IFileSystem fileSystem, NatvisDiagnosticLogger logger) { this.fileSystem = fileSystem; this.logger = logger; }
public Factory(IFileSystem fileSystem, NatvisDiagnosticLogger logger) { this.fileSystem = fileSystem; this.logger = logger; }
public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator) { _logger = logger; _evaluator = evaluator; }
public NatvisSizeParser(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator) { _logger = logger; _evaluator = evaluator; }