Table of Contents

Interface IRuntimeSemanticsEvaluationResult

Namespace
RDCore.SDK.Runtime.Shared
Assembly
RDCore.SDK.dll

The outcome of evaluating any runtime semantics, read without regard to how precisely the evaluation's result type was stated.

public interface IRuntimeSemanticsEvaluationResult

Remarks

RuntimeSemanticsEvaluationResult<TValue> names the VBTypedValue a specific evaluation produces, which is how a standard-library signature states its own VBA return type; RuntimeSemanticsEvaluationResult names none. A caller that dispatches over declarations it did not write - an invoker reaching a standard-library member through reflection, say - cannot know which of the two it is holding, and needs the outcome regardless: this is what both of them are.

Properties

ErrorInfo

The error metadata for the run-time error to be reported, if applicable.

IVBRaisableError? ErrorInfo { get; }

Property Value

IVBRaisableError

IsError

true if the evaluation semantically yields a runtime error.

bool IsError { get; }

Property Value

bool

IsInternalError

true if an evaluation strategy could not be determined.

bool IsInternalError { get; }

Property Value

bool

IsSuccess

true if the evaluation was successfully completed.

bool IsSuccess { get; }

Property Value

bool

Result

The result of the evaluation, if one was produced.

VBTypedValue? Result { get; }

Property Value

VBTypedValue