Exemplo n.º 1
0
        public UObjectVisualizer(DkmVisualizedExpression expression) : base(expression)
        {
            // @NOTE: Moved here since EvaluationResult was always retrieved immediately after
            // successful construction.
            EvaluateExpressionResult();

            if (state_ == EvaluationState.Evaluated)
            {
                // Initialize the context object which we use to access properties on the object.
                // This can potentially be shared with a PropertyListVisualizer child.
                access_ctx_ = new UPropertyAccessContext(expression_);
            }
        }
Exemplo n.º 2
0
        public PropertyListVisualizer(DkmVisualizedExpression proplist_expr, UPropertyAccessContext access_ctx) : base(proplist_expr)
        {
            prop_evals_ = new Dictionary <string, DkmEvaluationResult>();

            access_ctx_ = access_ctx;
        }