CreateNewValueFunctionTDefinition, TValue Delegate

Defines function signature for creating new IChannelValueT objects.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public delegate TValue CreateNewValueFunction<TDefinition, TValue>(
	IDataCell parent,
	TDefinition definition,
	byte[] buffer,
	int startIndex,
	out int parsedLength
)
where TDefinition : IChannelDefinition
where TValue : Object, IChannelValue<TDefinition>

Parameters

parent  IDataCell
Reference to parent IDataCell.
definition  TDefinition
Reference to associated IChannelDefinition object.
buffer  Byte
Binary image to parse IChannelValueT from.
startIndex  Int32
Start index into buffer to begin parsing.
parsedLength  Int32
Returns the total number of bytes parsed from buffer.

Type Parameters

TDefinition
Specific IChannelDefinition type that the IChannelValueT references.
TValue
Specific IChannelValueT type that the CreateNewValueFunctionTDefinition, TValue creates.

Return Value

TValue
New IChannelValueT object.

See Also