Exemple #1
0
        public AD7StackFrame(AD7Engine engine, IRStackFrame stackFrame) {
            Engine = engine;
            StackFrame = stackFrame;

            _property = Lazy.Create(() => new AD7Property(this, TaskExtensions.RunSynchronouslyOnUIThread(ct => StackFrame.DescribeEnvironmentAsync(cancellationToken: ct)), isFrameEnvironment: true));
        }
Exemple #2
0
 /// <summary>
 /// Same as <see cref="DescribeEnvironmentAsync(IRStackFrame, REvaluationResultProperties, CancellationToken)"/>,
 /// but the only <c>properties</c> that are fetched are those that are necessary to invoke
 /// <see cref="REvaluationResultInfoExtensions.DescribeChildrenAsync"/> on the returned value.
 /// </summary>
 public static Task <IRValueInfo> DescribeEnvironmentAsync(this IRStackFrame frame, CancellationToken cancellationToken = default(CancellationToken)) =>
 frame.DescribeEnvironmentAsync(REvaluationResultProperties.None, cancellationToken);
Exemple #3
0
        public AD7StackFrame(AD7Engine engine, IRStackFrame stackFrame)
        {
            Engine     = engine;
            StackFrame = stackFrame;

            _property = Lazy.Create(() => new AD7Property(this, TaskExtensions.RunSynchronouslyOnUIThread(ct => StackFrame.DescribeEnvironmentAsync(cancellationToken: ct)), isFrameEnvironment: true));
        }