Table of Contents

Class GenericTypeImplementationInfo

Namespace
Yarhl.Plugins
Assembly
Yarhl.Plugins.dll

Provides information about a type that implements a generic base type.

public record GenericTypeImplementationInfo : TypeImplementationInfo, IEquatable<TypeImplementationInfo>, IEquatable<GenericTypeImplementationInfo>
Inheritance
GenericTypeImplementationInfo
Implements
Derived
Inherited Members

Constructors

GenericTypeImplementationInfo(string, Type, Type, IReadOnlyList<Type>)

Provides information about a type that implements a generic base type.

public GenericTypeImplementationInfo(string Name, Type Type, Type GenericBaseType, IReadOnlyList<Type> GenericTypeParameters)

Parameters

Name string

The name of the implementation type. Shortcut for Type.FullName.

Type Type

The implementation type.

GenericBaseType Type

The actual generic base type with type parameters implemented.

GenericTypeParameters IReadOnlyList<Type>

The collection of the type parameters in the generic base type implemented.

Properties

GenericBaseType

The actual generic base type with type parameters implemented.

public Type GenericBaseType { get; init; }

Property Value

Type

GenericTypeParameters

The collection of the type parameters in the generic base type implemented.

public IReadOnlyList<Type> GenericTypeParameters { get; init; }

Property Value

IReadOnlyList<Type>