Table of Contents

Class Once

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class Once
Inheritance
Once
Inherited Members

Constructors

Once()

public Once()

Once(OnceOwnedHandle)

public Once(OnceOwnedHandle handle)

Parameters

handle OnceOwnedHandle

Properties

Handle

public OnceOwnedHandle Handle { get; }

Property Value

OnceOwnedHandle

Status

public OnceStatus Status { get; set; }

Property Value

OnceStatus

Methods

Equals(Once?)

public bool Equals(Once? other)

Parameters

other Once

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

InitEnter(ref IntPtr)

[Version("2.14")]
public static bool InitEnter(ref IntPtr location)

Parameters

location IntPtr

Returns

bool

InitEnterImpl(ref nuint)

public static bool InitEnterImpl(ref nuint location)

Parameters

location nuint

Returns

bool

InitEnterPointer(IntPtr)

[Version("2.80")]
public static bool InitEnterPointer(IntPtr location)

Parameters

location IntPtr

Returns

bool

InitLeave(ref IntPtr, nuint)

[Version("2.14")]
public static void InitLeave(ref IntPtr location, nuint result)

Parameters

location IntPtr
result nuint

InitLeavePointer(IntPtr, IntPtr)

[Version("2.80")]
public static void InitLeavePointer(IntPtr location, IntPtr result)

Parameters

location IntPtr
result IntPtr