Class IOExtensionPoint
public class IOExtensionPoint
- Inheritance
-
IOExtensionPoint
- Inherited Members
Methods
GetExtensionByName(IOExtensionPointHandle, NonNullableUtf8StringHandle)
Calls native method g_io_extension_point_get_extension_by_name.
public static extern IOExtensionUnownedHandle GetExtensionByName(IOExtensionPointHandle extensionPoint, NonNullableUtf8StringHandle name)
Parameters
extensionPoint
IOExtensionPointHandleTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IOExtensionUnownedHandle
Transfer ownership: None Nullable: False
GetExtensions(IOExtensionPointHandle)
Calls native method g_io_extension_point_get_extensions.
public static extern ListUnownedHandle GetExtensions(IOExtensionPointHandle extensionPoint)
Parameters
extensionPoint
IOExtensionPointHandleTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
GetRequiredType(IOExtensionPointHandle)
Calls native method g_io_extension_point_get_required_type.
public static extern nuint GetRequiredType(IOExtensionPointHandle extensionPoint)
Parameters
extensionPoint
IOExtensionPointHandleTransfer ownership: None Nullable: False
Returns
- nuint
Transfer ownership: None Nullable: False
Implement(NonNullableUtf8StringHandle, Type, NonNullableUtf8StringHandle, int)
Calls native function g_io_extension_point_implement.
public static extern IOExtensionUnownedHandle Implement(NonNullableUtf8StringHandle extensionPointName, Type type, NonNullableUtf8StringHandle extensionName, int priority)
Parameters
extensionPointName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
type
TypeTransfer ownership: None Nullable: False
extensionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
priority
intTransfer ownership: None Nullable: False
Returns
- IOExtensionUnownedHandle
Transfer ownership: None Nullable: False
Lookup(NonNullableUtf8StringHandle)
Calls native function g_io_extension_point_lookup.
public static extern IOExtensionPointUnownedHandle Lookup(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IOExtensionPointUnownedHandle
Transfer ownership: None Nullable: False
Register(NonNullableUtf8StringHandle)
Calls native function g_io_extension_point_register.
public static extern IOExtensionPointUnownedHandle Register(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IOExtensionPointUnownedHandle
Transfer ownership: None Nullable: False
SetRequiredType(IOExtensionPointHandle, Type)
Calls native method g_io_extension_point_set_required_type.
public static extern void SetRequiredType(IOExtensionPointHandle extensionPoint, Type type)
Parameters
extensionPoint
IOExtensionPointHandleTransfer ownership: None Nullable: False
type
TypeTransfer ownership: None Nullable: False