Table of Contents

Interface IPortValue

Namespace
FlowGraph.Core.DataFlow
Assembly
FlowGraph.Core.dll

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

string

Value

Gets the value as an object.

object? Value { get; }

Property Value

object

ValueType

Gets the CLR type of the value.

Type ValueType { get; }

Property Value

Type

Methods

SetValue(object?)

Sets the value from an untyped object.

void SetValue(object? value)

Parameters

value object

The value to set. Must be compatible with ValueType.

Events

ValueChanged

Event raised when the value changes (non-generic).

event EventHandler<PortValueChangedEventArgs>? ValueChanged

Event Type

EventHandler<PortValueChangedEventArgs>