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
Methods
AddPrerequisite(Type, Type)
public static void AddPrerequisite(Type interfaceType, Type prerequisiteType)
Parameters
Equals(TypeInterface?)
public bool Equals(TypeInterface? other)
Parameters
other
TypeInterface
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.
GetPlugin(Type, Type)
public static TypePlugin GetPlugin(Type instanceType, Type interfaceType)
Parameters
Returns
InstantiatablePrerequisite(Type)
[Version("2.68")]
public static Type InstantiatablePrerequisite(Type interfaceType)
Parameters
interfaceType
Type
Returns
Peek(TypeClass, Type)
public static TypeInterface Peek(TypeClass instanceClass, Type ifaceType)
Parameters
Returns
PeekParent()
public TypeInterface PeekParent()
Returns
Prerequisites(Type)
[Version("2.2")]
public static Type[] Prerequisites(Type interfaceType)
Parameters
interfaceType
Type
Returns
- Type[]