Interface IPortValue
Non-generic base interface for port values. Enables working with port values without knowing their concrete type.
public interface IPortValue
Properties
PortId
Gets the port ID this value belongs to.
string PortId { get; }
Property Value
Value
Gets the value as an object.
object? Value { get; }
Property Value
ValueType
Gets the CLR type of the value.
Type ValueType { get; }
Property Value
Methods
SetValue(object?)
Sets the value from an untyped object.
void SetValue(object? value)
Parameters
valueobjectThe value to set. Must be compatible with ValueType.
Events
ValueChanged
Event raised when the value changes (non-generic).
event EventHandler<PortValueChangedEventArgs>? ValueChanged