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
Status
public OnceStatus Status { get; set; }
Property Value
Methods
Equals(Once?)
public bool Equals(Once? other)
Parameters
other
Once
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
InitEnterImpl(ref nuint)
public static bool InitEnterImpl(ref nuint location)
Parameters
location
nuint
Returns
InitEnterPointer(IntPtr)
[Version("2.80")]
public static bool InitEnterPointer(IntPtr location)
Parameters
location
IntPtr
Returns
InitLeave(ref IntPtr, nuint)
[Version("2.14")]
public static void InitLeave(ref IntPtr location, nuint result)
Parameters
InitLeavePointer(IntPtr, IntPtr)
[Version("2.80")]
public static void InitLeavePointer(IntPtr location, IntPtr result)