RTI Connext C# API Version 7.2.0
|
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 = new List<StructMember>() [get] |
The data members. More... | |
Allows creating a new StructType via DynamicTypeFactory.BuildStruct().
|
inline |
Returns the same StructBuilder instance with a modified Name.
name | The new Name to be set. |
|
inline |
Returns the same StructBuilder instance with a modified Parent.
parent | The new Parent to be set. |
|
inline |
Returns the same StructBuilder instance with a modified ExtensibilityKind.
kind | The new ExtensibilityKind to be set. |
|
inline |
Returns the same StructBuilder instance with a new StructMember added to Members.
member | The StructMember to be added. |
|
inline |
Returns the same StructBuilder instance with a number of new StructMember added to Members.
members | The array of StructMember to be added. |
|
inline |
Returns the same StructBuilder instance with a number of new StructMember added to Members.
members | The enumerable object of StructMember to be added. |
|
inline |
Creates a new StructType object using the current properties of the StructBuilder instance.
|
get |
The type name.
|
get |
The base type or null if the struct doesn't have one.
|
get |
The value for the IDL extensibility kind.
|
get |
The data members.