Class Stringification
Inheritance
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public static class Stringification
Methods
| Improve this Doc View SourceAasSubmodelElementsFromString(String)
Parse the string representation of AasSubmodelElements.
Declaration
public static AasSubmodelElements? AasSubmodelElementsFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<AasSubmodelElements> |
Remarks
If text
is not a valid string representation
of a literal of AasSubmodelElements,
return null
.
AssetKindFromString(String)
Parse the string representation of AssetKind.
Declaration
public static AssetKind? AssetKindFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<AssetKind> |
Remarks
If text
is not a valid string representation
of a literal of AssetKind,
return null
.
DataTypeDefXsdFromString(String)
Parse the string representation of DataTypeDefXsd.
Declaration
public static DataTypeDefXsd? DataTypeDefXsdFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<DataTypeDefXsd> |
Remarks
If text
is not a valid string representation
of a literal of DataTypeDefXsd,
return null
.
DataTypeIec61360FromString(String)
Parse the string representation of DataTypeIec61360.
Declaration
public static DataTypeIec61360? DataTypeIec61360FromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<DataTypeIec61360> |
Remarks
If text
is not a valid string representation
of a literal of DataTypeIec61360,
return null
.
DirectionFromString(String)
Parse the string representation of Direction.
Declaration
public static Direction? DirectionFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<Direction> |
Remarks
If text
is not a valid string representation
of a literal of Direction,
return null
.
EntityTypeFromString(String)
Parse the string representation of EntityType.
Declaration
public static EntityType? EntityTypeFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<EntityType> |
Remarks
If text
is not a valid string representation
of a literal of EntityType,
return null
.
KeyTypesFromString(String)
Parse the string representation of KeyTypes.
Declaration
public static KeyTypes? KeyTypesFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<KeyTypes> |
Remarks
If text
is not a valid string representation
of a literal of KeyTypes,
return null
.
ModellingKindFromString(String)
Parse the string representation of ModellingKind.
Declaration
public static ModellingKind? ModellingKindFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<ModellingKind> |
Remarks
If text
is not a valid string representation
of a literal of ModellingKind,
return null
.
QualifierKindFromString(String)
Parse the string representation of QualifierKind.
Declaration
public static QualifierKind? QualifierKindFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<QualifierKind> |
Remarks
If text
is not a valid string representation
of a literal of QualifierKind,
return null
.
ReferenceTypesFromString(String)
Parse the string representation of ReferenceTypes.
Declaration
public static ReferenceTypes? ReferenceTypesFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<ReferenceTypes> |
Remarks
If text
is not a valid string representation
of a literal of ReferenceTypes,
return null
.
StateOfEventFromString(String)
Parse the string representation of StateOfEvent.
Declaration
public static StateOfEvent? StateOfEventFromString(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
System.Nullable<StateOfEvent> |
Remarks
If text
is not a valid string representation
of a literal of StateOfEvent,
return null
.
ToString(Nullable<AasSubmodelElements>)
Retrieve the string representation of that
.
Declaration
public static string ToString(AasSubmodelElements? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<AasSubmodelElements> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<AssetKind>)
Retrieve the string representation of that
.
Declaration
public static string ToString(AssetKind? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<AssetKind> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<DataTypeDefXsd>)
Retrieve the string representation of that
.
Declaration
public static string ToString(DataTypeDefXsd? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<DataTypeDefXsd> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<DataTypeIec61360>)
Retrieve the string representation of that
.
Declaration
public static string ToString(DataTypeIec61360? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<DataTypeIec61360> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<Direction>)
Retrieve the string representation of that
.
Declaration
public static string ToString(Direction? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<Direction> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<EntityType>)
Retrieve the string representation of that
.
Declaration
public static string ToString(EntityType? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<EntityType> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<KeyTypes>)
Retrieve the string representation of that
.
Declaration
public static string ToString(KeyTypes? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<KeyTypes> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<ModellingKind>)
Retrieve the string representation of that
.
Declaration
public static string ToString(ModellingKind? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<ModellingKind> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<QualifierKind>)
Retrieve the string representation of that
.
Declaration
public static string ToString(QualifierKind? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<QualifierKind> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<ReferenceTypes>)
Retrieve the string representation of that
.
Declaration
public static string ToString(ReferenceTypes? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<ReferenceTypes> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.
ToString(Nullable<StateOfEvent>)
Retrieve the string representation of that
.
Declaration
public static string ToString(StateOfEvent? that)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<StateOfEvent> | that |
Returns
Type | Description |
---|---|
System.String |
Remarks
If that
is not a valid literal, return null
.