MonobjcMonobjc Documented Class Library
IdMarshaler<(Of <(<'TInstance>)>)> Class
NamespacesMonobjcIdMarshaler<(Of <(<'TInstance>)>)>
Custom marshaller for Id instances. This makes interop a breeze as it cuts a lot of code.
Declaration Syntax
C#Visual BasicVisual C++
public class IdMarshaler<TInstance> : ICustomMarshaler
where TInstance : Id
Public Class IdMarshaler(Of TInstance As Id) _
	Implements ICustomMarshaler
generic<typename TInstance>
where TInstance : Id
public ref class IdMarshaler : ICustomMarshaler
Generic Template Parameters
TInstance

[Missing <typeparam name="TInstance"/> documentation for "T:Monobjc.IdMarshaler`1"]

Members
All MembersConstructorsMethods



IconMemberDescription
IdMarshaler<(Of <(<'TInstance>)>)>()()()()
Initializes a new instance of the IdMarshaler<(Of <(<'TInstance>)>)> class

CleanUpManagedData(Object)
Performs necessary cleanup of the managed data when it is no longer needed.

CleanUpNativeData(IntPtr)
Performs necessary cleanup of the unmanaged data when it is no longer needed.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetInstance(String)
Returns a shared instance of the custom marshaller.

GetNativeDataSize()()()()
Returns the size of the native data to be marshaled.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MarshalManagedToNative(Object)
Converts the managed data to unmanaged data.

MarshalNativeToManaged(IntPtr)
Converts the unmanaged data to managed data.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
IdMarshaler<(Of <(<'TInstance>)>)>
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc (Module: Monobjc)