Click or drag to resize

CreateNewDefinitionFunctionT Delegate

Defines function signature for creating new IChannelDefinition objects.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.181-beta
Syntax
public delegate T CreateNewDefinitionFunction<T>(
	IConfigurationCell parent,
	byte[] buffer,
	int startIndex,
	out int parsedLength
)
where T : IChannelDefinition

Parameters

parent  IConfigurationCell
Reference to parent IConfigurationCell.
buffer  Byte
Binary image to parse IChannelDefinition 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 IChannelDefinition type of object that the CreateNewDefinitionFunctionT creates.

Return Value

T
New IChannelDefinition object.
See Also