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.187 -- Release Build+c9c1088b6e2a65c4a6e6b8eccc6dcbe1c00bd580
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