forwardPrimitiveTypeInfo Constructor (String, PrimitiveType, Object, Object, Object, Object)   Table of ContentPrimitiveTypeInfo Propertiesforward
PrimitiveTypeInfo Constructor (String, PrimitiveType, Presence, Object, Object, Object, Object)
Constructor.

Namespace:  OnixS.SimpleBinaryEncoding.Templates
Assembly:  OnixS.SimpleBinaryEncoding-net-4.7 (in OnixS.SimpleBinaryEncoding-net-4.7.dll) Version: 2.3.1.0 (2.3.1.0)
Syntax
C#
public PrimitiveTypeInfo(
	string name,
	PrimitiveType primitiveType,
	Presence presence,
	Object nullValue,
	Object minValue,
	Object maxValue,
	Object constantValue
)

Parameters

name
Type: System.String
Type name.
primitiveType
Type: OnixS.SimpleBinaryEncoding.Templates.PrimitiveType
Underlying primitive type.
presence
Type: OnixS.SimpleBinaryEncoding.Templates.Presence
Type presence.
nullValue
Type: System.Object
Null value for optional fields.
minValue
Type: System.Object
Minimum allowed value.
maxValue
Type: System.Object
Maximum allowed value.
constantValue
Type: System.Object
Constant value for constant fields.
See Also