Table of Contents

Method GetConverterFriendlyBaseType

Namespace
DSharpPlus.Commands.Converters
Assembly
DSharpPlus.Commands.dll

GetConverterFriendlyBaseType(Type)

Finds the base type to use for converter registration.

public static Type GetConverterFriendlyBaseType(Type type)

Parameters

type Type

The type to find the base type for.

Returns

Type

The base type to use for converter registration.

Remarks

More specifically, this methods returns the base type that can be found from Nullable<T>, Enum, or Array's.