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
constructArgumentsConstructArgument[]
UnixFDList(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected UnixFDList(CreationData data)
Parameters
dataCreationData
UnixFDList(UnixFDListHandle)
protected UnixFDList(UnixFDListHandle handle)
Parameters
handleUnixFDListHandle
Methods
Append(int)
[Version("2.24")]
public int Append(int fd)
Parameters
fdint
Returns
Get(int)
[Version("2.24")]
public int Get(int index)
Parameters
indexint
Returns
GetGType()
public static Type GetGType()
Returns
GetLength()
[Version("2.24")]
public int GetLength()
Returns
New()
[Version("2.24")]
public static UnixFDList New()
Returns
NewFromArray(Span<int>)
[Version("2.24")]
public static UnixFDList NewFromArray(Span<int> fds)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed UnixFDList instance for a given pointer.
public static UnixFDList NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new UnixFDList and sets the properties specified by the construct arguments.
public static UnixFDList NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.