Click or drag to resize

CreateNewCellFunctionT Delegate

Defines function signature for creating new IChannelCell objects.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax
public delegate T CreateNewCellFunction<T>(
	IChannelFrame parent,
	IChannelFrameParsingState<T> state,
	int index,
	byte[] buffer,
	int startIndex,
	out int parsedLength
)
where T : IChannelCell

Parameters

parent  IChannelFrame
Reference to parent IChannelFrame.
state  IChannelFrameParsingStateT
Current parsing state of associated IChannelFrame.
index  Int32
Index of cell within its collection.
buffer  Byte
Binary image to parse IChannelCell from.
startIndex  Int32
Start index into buffer to begin parsing.
parsedLength  Int32
Returns the total number of bytes parsed from buffer.

Type Parameters

T
Specific IChannelCell type of object that gets created by referenced function.

Return Value

T
New IChannelCell object.
See Also