示例#1
0
 public Factory(NatvisDiagnosticLogger logger, NatvisExpressionEvaluator evaluator,
                NatvisStringFormatter stringFormatter)
 {
     _logger          = logger;
     _evaluator       = evaluator;
     _stringFormatter = stringFormatter;
 }
示例#2
0
        public NatvisExpander(NatvisCollectionEntity.Factory natvisCollectionFactory,
                              SmartPointerEntity.Factory smartPointerFactory,
                              NatvisStringFormatter stringFormatter,
                              NatvisVisualizerScanner visualizerScanner)
        {
            _natvisCollectionFactory = natvisCollectionFactory;
            _smartPointerFactory     = smartPointerFactory;

            StringFormatter   = stringFormatter;
            VisualizerScanner = visualizerScanner;
        }
示例#3
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;
 }
示例#4
0
        internal NatvisSyntheticVariableInformation(
            NatvisStringFormatter stringFormatter,
            NatvisCollectionEntity.Factory natvisCollectionFactory, NatvisScope natvisScope,
            SyntheticItemType syntheticItemType, IVariableInformation varInfo, string displayValue)
            : base(varInfo)
        {
            _stringFormatter         = stringFormatter;
            _natvisCollectionFactory = natvisCollectionFactory;
            _natvisScope             = natvisScope;
            _syntheticItemType       = syntheticItemType;
            _displayValue            = displayValue;

            // Synthetic items should never show the raw view.
            if (syntheticItemType.Expand != null)
            {
                syntheticItemType.Expand.HideRawView = true;
            }
        }