Class TypeInterface
public class TypeInterface
- Inheritance
-
TypeInterface
- Inherited Members
Methods
AddPrerequisite(Type, Type)
Calls native function g_type_interface_add_prerequisite.
public static extern void AddPrerequisite(Type interfaceType, Type prerequisiteType)
Parameters
interfaceType
TypeTransfer ownership: None Nullable: False
prerequisiteType
TypeTransfer ownership: None Nullable: False
GetPlugin(Type, Type)
Calls native function g_type_interface_get_plugin.
public static extern IntPtr GetPlugin(Type instanceType, Type interfaceType)
Parameters
instanceType
TypeTransfer ownership: None Nullable: False
interfaceType
TypeTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
InstantiatablePrerequisite(Type)
Calls native function g_type_interface_instantiatable_prerequisite. Version: 2.68
[Version("2.68")]
public static extern nuint InstantiatablePrerequisite(Type interfaceType)
Parameters
interfaceType
TypeTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Peek(TypeClassHandle, Type)
Calls native function g_type_interface_peek.
public static extern TypeInterfaceUnownedHandle Peek(TypeClassHandle instanceClass, Type ifaceType)
Parameters
instanceClass
TypeClassHandleTransfer ownership: None Nullable: False
ifaceType
TypeTransfer ownership: None Nullable: False
Returns
- TypeInterfaceUnownedHandle
Transfer ownership: None Nullable: False
PeekParent(TypeInterfaceHandle)
Calls native method g_type_interface_peek_parent.
public static extern TypeInterfaceUnownedHandle PeekParent(TypeInterfaceHandle gIface)
Parameters
gIface
TypeInterfaceHandleTransfer ownership: None Nullable: False
Returns
- TypeInterfaceUnownedHandle
Transfer ownership: None Nullable: False