RTI Connext C# API
6.1.2
|
Allows creating a new StructType via DynamicTypeFactory.BuildStruct(). More...
Public Member Functions | |
StructBuilder | WithName (string name) |
Returns the same StructBuilder instance with a modified Name. More... | |
StructBuilder | WithParent (StructType parent) |
Returns the same StructBuilder instance with a modified Parent. More... | |
StructBuilder | WithExtensibility (ExtensibilityKind kind) |
Returns the same StructBuilder instance with a modified ExtensibilityKind. More... | |
StructBuilder | AddMember (StructMember member) |
Returns the same StructBuilder instance with a new StructMember added to Members. More... | |
StructBuilder | AddMembers (params StructMember[] members) |
Returns the same StructBuilder instance with a number of new StructMember added to Members. More... | |
StructBuilder | AddMembers (IEnumerable< StructMember > members) |
Returns the same StructBuilder instance with a number of new StructMember added to Members. More... | |
StructType | Create () |
Creates a new StructType object using the current properties of the StructBuilder instance. More... | |
Properties | |
string | Name [get] |
The type name. More... | |
StructType | Parent [get] |
The base type or null if the struct doesn't have one. More... | |
ExtensibilityKind | ExtensibilityKind [get] |
The value for the IDL extensibility kind. More... | |
IList< StructMember > | Members [get] |
The data members. More... | |
Allows creating a new StructType via DynamicTypeFactory.BuildStruct().
StructBuilder AddMember | ( | StructMember | member | ) |
Returns the same StructBuilder instance with a new StructMember added to Members.
member | The StructMember to be added. |
StructBuilder AddMembers | ( | IEnumerable< StructMember > | members | ) |
Returns the same StructBuilder instance with a number of new StructMember added to Members.
members | The enumerable object of StructMember to be added. |
StructBuilder AddMembers | ( | params StructMember[] | members | ) |
Returns the same StructBuilder instance with a number of new StructMember added to Members.
members | The array of StructMember to be added. |
StructType Create | ( | ) |
Creates a new StructType object using the current properties of the StructBuilder instance.
StructBuilder WithExtensibility | ( | ExtensibilityKind | kind | ) |
Returns the same StructBuilder instance with a modified ExtensibilityKind.
kind | The new ExtensibilityKind to be set. |
StructBuilder WithName | ( | string | name | ) |
Returns the same StructBuilder instance with a modified Name.
name | The new Name to be set. |
StructBuilder WithParent | ( | StructType | parent | ) |
Returns the same StructBuilder instance with a modified Parent.
parent | The new Parent to be set. |
The value for the IDL extensibility kind.
|
get |
The data members.
|
get |
The type name.
|
get |
The base type or null if the struct doesn't have one.