Interface IExtension
Single extension of an element.
Inherited Members
Namespace: AasCore.Aas3_0
Assembly: AasCore.Aas3_0.dll
Syntax
public interface IExtension : IHasSemantics, IClass
Properties
| Improve this Doc View SourceName
Name of the extension.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Constraints:
- Constraint AASd-077: The name of an extension (Extension/name) within IHasExtensions needs to be unique.
RefersTo
Reference to an element the extension refers to.
Declaration
List<IReference> RefersTo { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<IReference> |
Value
Value of the extension
Declaration
string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValueType
Type of the value of the extension.
Declaration
DataTypeDefXsd? ValueType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DataTypeDefXsd> |
Remarks
Default: String
Methods
| Improve this Doc View SourceOverRefersToOrEmpty()
Iterate over RefersTo, if set, and otherwise return an empty enumerable.
Declaration
IEnumerable<IReference> OverRefersToOrEmpty()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IReference> |
ValueTypeOrDefault()
Declaration
DataTypeDefXsd ValueTypeOrDefault()
Returns
Type | Description |
---|---|
DataTypeDefXsd |