예제 #1
0
        public NatvisExpander(NatvisCollectionEntity.Factory natvisCollectionFactory,
                              SmartPointerEntity.Factory smartPointerFactory,
                              NatvisStringFormatter stringFormatter,
                              NatvisVisualizerScanner visualizerScanner)
        {
            _natvisCollectionFactory = natvisCollectionFactory;
            _smartPointerFactory     = smartPointerFactory;

            StringFormatter   = stringFormatter;
            VisualizerScanner = visualizerScanner;
        }
        public NatvisStringFormatter(NatvisExpressionEvaluator evaluator,
                                     NatvisDiagnosticLogger logger,
                                     NatvisVisualizerScanner visualizerScanner,
                                     ITaskExecutor taskExecutor)
        {
            _curFormatStringElementDepth = 0;

            _evaluator         = evaluator;
            _logger            = logger;
            _visualizerScanner = visualizerScanner;
            _taskExecutor      = taskExecutor;
        }