示例#1
0
 public BreakBlock(BreakType breakType, CustomListItemsContext ctx,
                   NatvisExpressionEvaluator evaluator)
 {
     _breakType = breakType;
     _ctx       = ctx;
     _evaluator = evaluator;
 }
示例#2
0
 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;
 }
示例#4
0
 public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator,
                NatvisSizeParser sizeParser)
 {
     _logger     = logger;
     _evaluator  = evaluator;
     _sizeParser = sizeParser;
 }
示例#5
0
 public ItemBlock(CustomListItemType customListItem, CustomListItemsContext ctx,
                  NatvisExpressionEvaluator evaluator)
 {
     _customListItem = customListItem;
     _ctx            = ctx;
     _evaluator      = evaluator;
 }
示例#6
0
 public ExecBlock(ExecType execType, CustomListItemsContext ctx,
                  NatvisExpressionEvaluator evaluator)
 {
     _exec      = execType;
     _ctx       = ctx;
     _evaluator = evaluator;
 }
示例#7
0
 protected LeafEntity(IVariableInformation variable, NatvisDiagnosticLogger logger,
                      NatvisExpressionEvaluator evaluator, NatvisScope natvisScope)
 {
     _variable    = variable;
     _logger      = logger;
     _evaluator   = evaluator;
     _natvisScope = natvisScope;
 }
示例#8
0
 ExpandedItemEntity(IVariableInformation variable, NatvisScope natvisScope,
                    ExpandedItemType expandedItem, NatvisDiagnosticLogger logger,
                    NatvisEntityStore store, NatvisExpressionEvaluator evaluator)
     : base(variable, logger, evaluator, natvisScope)
 {
     _expandedItem = expandedItem;
     _store        = store;
 }
示例#9
0
 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;
 }
示例#11
0
        public LoopBlock(LoopType loopType, CustomListItemsContext ctx,
                         NatvisExpressionEvaluator evaluator, CodeBlockParser parser)
        {
            _loop      = loopType;
            _ctx       = ctx;
            _evaluator = evaluator;

            IList <ICodeBlock> loopBlocks = parser.Parse(loopType.CodeBlock ?? new object[0], ctx);

            _loopInstructions = new MultipleInstructionsBlock(loopBlocks);
        }
示例#12
0
 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;
 }
        public NatvisStringFormatter(NatvisExpressionEvaluator evaluator,
                                     NatvisDiagnosticLogger logger,
                                     NatvisVisualizerScanner visualizerScanner,
                                     ITaskExecutor taskExecutor)
        {
            _curFormatStringElementDepth = 0;

            _evaluator         = evaluator;
            _logger            = logger;
            _visualizerScanner = visualizerScanner;
            _taskExecutor      = taskExecutor;
        }
示例#14
0
 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;
 }
示例#15
0
        public ConditionalBlock(ConditionalCodeBlockGroup conditionGroup,
                                CustomListItemsContext ctx, NatvisExpressionEvaluator evaluator,
                                CodeBlockParser parser)
        {
            _conditionGroup = conditionGroup;
            _ctx            = ctx;
            _evaluator      = evaluator;

            _innerBlocks = conditionGroup.ConditionalCode
                           .Select(branch => new MultipleInstructionsBlock(
                                       parser.Parse(branch.CodeBlock ?? new object[0], ctx)))
                           .ToList();
        }
示例#16
0
 public CodeBlockParser(NatvisExpressionEvaluator evaluator)
 {
     _evaluator = evaluator;
 }
示例#17
0
 public NatvisSizeParser(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator)
 {
     _logger    = logger;
     _evaluator = evaluator;
 }
示例#18
0
 public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator)
 {
     _logger    = logger;
     _evaluator = evaluator;
 }