Table of Contents

Class ConstantBindingHandle

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

Represents a handle to an internally addressed, read-only IRuntimeValue.

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

Constructors

ConstantBindingHandle(IRuntimeValue)

public ConstantBindingHandle(IRuntimeValue value)

Parameters

value IRuntimeValue

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