Search Results for

    Show / Hide Table of Contents

    Class Enhancing.Unwrapper<TEnhancement>

    Unwrap enhancements from the wrapped instances.

    Inheritance
    System.Object
    Enhancing.Unwrapper<TEnhancement>
    Enhancing.Enhancer<TEnhancement>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: AasCore.Aas3_0
    Assembly: AasCore.Aas3_0.dll
    Syntax
    public class Unwrapper<TEnhancement>
        where TEnhancement : class
    Type Parameters
    Name Description
    TEnhancement

    type of the enhancement

    Methods

    | Improve this Doc View Source

    MustUnwrap(IClass)

    Unwrap the given model instance.

    Declaration
    public TEnhancement MustUnwrap(IClass that)
    Parameters
    Type Name Description
    IClass that

    model instance to be unwrapped

    Returns
    Type Description
    TEnhancement

    Enhancement wrapped around that

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when that has not been wrapped yet

    | Improve this Doc View Source

    Unwrap(IClass)

    Unwrap the given model instance.

    Declaration
    public TEnhancement Unwrap(IClass that)
    Parameters
    Type Name Description
    IClass that

    model instance to be unwrapped

    Returns
    Type Description
    TEnhancement

    Enhancement, or null if that has not been wrapped yet.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX