Class ConstantBindingHandle
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
valueIRuntimeValue
Properties
BindingCapabilities
Indicates the valid members of this binding.
public BindingCapabilities BindingCapabilities { get; }
Property Value
Methods
GetValue(IVBExecutionContext)
Gets the value associated to this handle.
public IRuntimeValue GetValue(IVBExecutionContext context)
Parameters
contextIVBExecutionContext
Returns
Remarks
👉 Verify that the binding supports GetValue.
Exceptions
Invoke(IVBExecutionContext, IRuntimeValue[])
Invokes the callable entity associated to this handle.
public IRuntimeValue Invoke(IVBExecutionContext context, IRuntimeValue[] args)
Parameters
contextIVBExecutionContextargsIRuntimeValue[]
Returns
Remarks
👉 Verify that the binding supports SetValue.
Exceptions
SetValue(IVBExecutionContext, IRuntimeValue)
Sets the value associated to this handle.
public void SetValue(IVBExecutionContext context, IRuntimeValue value)
Parameters
contextIVBExecutionContextvalueIRuntimeValue
Remarks
👉 Verify that the binding supports SetValue.