Table of Contents

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

ClosureOwnedHandle

InMarshal

public uint InMarshal { get; set; }

Property Value

uint

IsInvalid

public uint IsInvalid { get; set; }

Property Value

uint

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 Closure

An object to compare with this object.

Returns

bool

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

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.

GetGType()

public static Type GetGType()

Returns

Type

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

Closure

Sink()

public void Sink()

Unref()

public void Unref()