Class NativeCustomMarshalerAttribute
Attribute for assocating a type with an INativeCustomMarshaler instance.
Inherited Members
Namespace: SharpAssimp
Assembly: SharpAssimp.dll
Syntax
[AttributeUsage(AttributeTargets.Struct)]
public sealed class NativeCustomMarshalerAttribute : Attribute
Constructors
| Edit this page View SourceNativeCustomMarshalerAttribute(Type?)
Constructs a new instance of the NativeCustomMarshalerAttribute class.
Declaration
public NativeCustomMarshalerAttribute(Type? type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Type that implements INativeCustomMarshaler |
Exceptions
| Type | Condition |
|---|---|
| NullReferenceException | Thrown if the type is null. |
| ArgumentException | Thrown if the type does not implement INativeCustomMarshaler. |
Properties
| Edit this page View SourceMarshaler
Gets the associated marshaler.
Declaration
public INativeCustomMarshaler? Marshaler { get; }
Property Value
| Type | Description |
|---|---|
| INativeCustomMarshaler |