Class Closure
- Namespace
- GObject
- Assembly
- GObject-2.0.dll
public sealed class Closure : IDisposable, BoxedRecord, IEquatable<Closure>
- Inheritance
-
Closure
- Implements
- Inherited Members
Constructors
Closure()
public Closure()
Closure(ClosureOwnedHandle)
public Closure(ClosureOwnedHandle handle)
Parameters
handle
ClosureOwnedHandle
Properties
Handle
public ClosureOwnedHandle Handle { get; }
Property Value
InMarshal
public uint InMarshal { get; set; }
Property Value
IsInvalid
public uint IsInvalid { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Closure?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Closure? other)
Parameters
other
ClosureAn object to compare with this object.
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
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Invalidate()
public void Invalidate()
Ref()
public Closure Ref()
Returns
Sink()
public void Sink()
Unref()
public void Unref()