Table of Contents

Class ReferenceBindingHandle

Namespace
RDCore.SDK.Model.Values.Bindings
Assembly
RDCore.SDK.dll

Represents a handle to an internally addressed, writable reference to a VBTypedValue.

public record ReferenceBindingHandle : IBindingHandle, IEquatable<ReferenceBindingHandle>
Inheritance
ReferenceBindingHandle
Implements
Inherited Members

Constructors

ReferenceBindingHandle(VBRuntimeReference)

public ReferenceBindingHandle(VBRuntimeReference value)

Parameters

value VBRuntimeReference

Properties

BindingCapabilities

Indicates the valid members of this binding.

public BindingCapabilities BindingCapabilities { get; }

Property Value

BindingCapabilities

Methods

GetValue(IVBExecutionContext)

Gets the value associated to this handle.

public IRuntimeValue GetValue(IVBExecutionContext context)

Parameters

context IVBExecutionContext

Returns

IRuntimeValue

Remarks

👉 Verify that the binding supports GetValue.

Exceptions

NotSupportedException

Invoke(IVBExecutionContext, IRuntimeValue[])

Invokes the callable entity associated to this handle.

public IRuntimeValue Invoke(IVBExecutionContext context, IRuntimeValue[] args)

Parameters

context IVBExecutionContext
args IRuntimeValue[]

Returns

IRuntimeValue

Remarks

👉 Verify that the binding supports SetValue.

Exceptions

NotSupportedException

SetValue(IVBExecutionContext, IRuntimeValue)

Sets the value associated to this handle.

public void SetValue(IVBExecutionContext context, IRuntimeValue value)

Parameters

context IVBExecutionContext
value IRuntimeValue

Remarks

👉 Verify that the binding supports SetValue.

Exceptions

NotSupportedException