Table of Contents

Class TypeInterface

Namespace
GObject
Assembly
GObject-2.0.dll
public sealed class TypeInterface
Inheritance
TypeInterface
Inherited Members

Constructors

TypeInterface()

public TypeInterface()

TypeInterface(TypeInterfaceOwnedHandle)

public TypeInterface(TypeInterfaceOwnedHandle handle)

Parameters

handle TypeInterfaceOwnedHandle

Properties

Handle

public TypeInterfaceOwnedHandle Handle { get; }

Property Value

TypeInterfaceOwnedHandle

Methods

AddPrerequisite(Type, Type)

public static void AddPrerequisite(Type interfaceType, Type prerequisiteType)

Parameters

interfaceType Type
prerequisiteType Type

Equals(TypeInterface?)

public bool Equals(TypeInterface? other)

Parameters

other TypeInterface

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.

GetPlugin(Type, Type)

public static TypePlugin GetPlugin(Type instanceType, Type interfaceType)

Parameters

instanceType Type
interfaceType Type

Returns

TypePlugin

InstantiatablePrerequisite(Type)

[Version("2.68")]
public static Type InstantiatablePrerequisite(Type interfaceType)

Parameters

interfaceType Type

Returns

Type

Peek(TypeClass, Type)

public static TypeInterface Peek(TypeClass instanceClass, Type ifaceType)

Parameters

instanceClass TypeClass
ifaceType Type

Returns

TypeInterface

PeekParent()

public TypeInterface PeekParent()

Returns

TypeInterface