Class CompositeTypeInfo
SBE template composite type description.
Namespace: OnixS.SimpleBinaryEncoding.Templates
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public class CompositeTypeInfo : TypeInfo
Constructors
CompositeTypeInfo(String)
Constructor.
Declaration
public CompositeTypeInfo(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Type name. |
Properties
TypeList
Gets the list of embedded types.
Declaration
public IReadOnlyList<TypeInfo> TypeList { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<TypeInfo> |
Types
Gets the embedded types.
Declaration
public IReadOnlyDictionary<string, TypeInfo> Types { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<System.String, TypeInfo> |
Methods
AddType(PrimitiveTypeInfo)
Adds type.
Declaration
public void AddType(PrimitiveTypeInfo type)
Parameters
Type | Name | Description |
---|---|---|
PrimitiveTypeInfo | type | Type description. |