forwardPrimitiveTypeInfo Constructor    Table of ContentPrimitiveTypeInfo Constructor (String, PrimitiveType, Presence, Object, Object, Object, Object)forward
PrimitiveTypeInfo Constructor (String, PrimitiveType, 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,
	Object nullValue,
	Object minValue,
	Object maxValue,
	Object constantValue
)

Parameters

name
Type: System.String
Type name.
primitiveType
Type: OnixS.SimpleBinaryEncoding.Templates.PrimitiveType
Underlying primitive type.
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