Class Enhancing.Unwrapper<TEnhancement>
Unwrap enhancements from the wrapped instances.
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 SourceMustUnwrap(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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when |
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 |