Search Results for

    Show / Hide Table of Contents

    Interface IExtension

    Single extension of an element.

    Inherited Members
    IHasSemantics.SemanticId
    IHasSemantics.SupplementalSemanticIds
    IHasSemantics.OverSupplementalSemanticIdsOrEmpty()
    IClass.DescendOnce()
    IClass.Descend()
    IClass.Accept(Visitation.IVisitor)
    IClass.Accept<TContext>(Visitation.IVisitorWithContext<TContext>, TContext)
    IClass.Transform<T>(Visitation.ITransformer<T>)
    IClass.Transform<TContext, T>(Visitation.ITransformerWithContext<TContext, T>, TContext)
    Namespace: AasCore.Aas3_0
    Assembly: AasCore.Aas3_0.dll
    Syntax
    public interface IExtension : IHasSemantics, IClass

    Properties

    | Improve this Doc View Source

    Name

    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.
    | Improve this Doc View Source

    RefersTo

    Reference to an element the extension refers to.

    Declaration
    List<IReference> RefersTo { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<IReference>
    | Improve this Doc View Source

    Value

    Value of the extension

    Declaration
    string Value { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    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 Source

    OverRefersToOrEmpty()

    Iterate over RefersTo, if set, and otherwise return an empty enumerable.

    Declaration
    IEnumerable<IReference> OverRefersToOrEmpty()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IReference>
    | Improve this Doc View Source

    ValueTypeOrDefault()

    Declaration
    DataTypeDefXsd ValueTypeOrDefault()
    Returns
    Type Description
    DataTypeDefXsd
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX