Table of Contents

Class IOModule

Namespace
Gio
Assembly
Gio-2.0.dll
public class IOModule : TypeModule, TypePlugin, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
IOModule
Implements
Inherited Members

Constructors

IOModule(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public IOModule(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

IOModule(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected IOModule(CreationData data)

Parameters

data CreationData

IOModule(IOModuleHandle)

protected IOModule(IOModuleHandle handle)

Parameters

handle IOModuleHandle

Methods

CompleteInterfaceInfo(Type, Type, InterfaceInfo)

public void CompleteInterfaceInfo(Type instanceType, Type interfaceType, InterfaceInfo info)

Parameters

instanceType Type
interfaceType Type
info InterfaceInfo

CompleteTypeInfo(Type, TypeInfo, TypeValueTable)

public void CompleteTypeInfo(Type gType, TypeInfo info, TypeValueTable valueTable)

Parameters

gType Type
info TypeInfo
valueTable TypeValueTable

GetGType()

public static Type GetGType()

Returns

Type

Load()

public void Load()

New(string)

public static IOModule New(string filename)

Parameters

filename string

Returns

IOModule

NewFromPointer(nint, bool)

Creates a new managed IOModule instance for a given pointer.

public static IOModule NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

IOModule

NewWithProperties(ConstructArgument[])

Creates a new IOModule and sets the properties specified by the construct arguments.

public static IOModule NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

IOModule

Query()

[Version("2.24")]
public static string[] Query()

Returns

string[]

Unload()

public void Unload()