Bewerken

Delen via


ISignatureTypeProvider<TType,TGenericContext>.GetModifiedType Method

Definition

Gets the type symbol for a type with a custom modifier applied.

public:
 TType GetModifiedType(TType modifier, TType unmodifiedType, bool isRequired);
public TType GetModifiedType (TType modifier, TType unmodifiedType, bool isRequired);
abstract member GetModifiedType : 'ype * 'ype * bool -> 'ype
Public Function GetModifiedType (modifier As TType, unmodifiedType As TType, isRequired As Boolean) As TType

Parameters

modifier
TType

The modifier type applied.

unmodifiedType
TType

The type symbol of the underlying type without modifiers applied.

isRequired
Boolean

true if the modifier is required, false if it's optional.

Returns

TType

The type symbol.

Applies to