Table of Contents

Class UnixFDList

Namespace
Gio
Assembly
Gio-2.0.dll
public class UnixFDList : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
UnixFDList
Implements
Inherited Members

Constructors

UnixFDList(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 UnixFDList(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

UnixFDList(CreationData)

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

Parameters

data CreationData

UnixFDList(UnixFDListHandle)

protected UnixFDList(UnixFDListHandle handle)

Parameters

handle UnixFDListHandle

Methods

Append(int)

[Version("2.24")]
public int Append(int fd)

Parameters

fd int

Returns

int

Get(int)

[Version("2.24")]
public int Get(int index)

Parameters

index int

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetLength()

[Version("2.24")]
public int GetLength()

Returns

int

New()

[Version("2.24")]
public static UnixFDList New()

Returns

UnixFDList

NewFromArray(Span<int>)

[Version("2.24")]
public static UnixFDList NewFromArray(Span<int> fds)

Parameters

fds Span<int>

Returns

UnixFDList

NewFromPointer(nint, bool)

Creates a new managed UnixFDList instance for a given pointer.

public static UnixFDList NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

UnixFDList

NewWithProperties(ConstructArgument[])

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

public static UnixFDList NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

UnixFDList