Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Code.​Comparers / IType­Comparer
Open sandbox

Interface ITypeComparer

Extends IEqualityComparer<T> of IType with the method Is(IType, IType, ConversionKind), which checks for type inheritance and not equality.

Namespace: Metalama.Framework.Code.Comparers
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ITypeComparer

Methods

Name Description
Is(IType, IType, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left IType is assignable to right IType.

Is(IType, Type, ConversionKind)

Equivalent to the is operator in C#. Gets a value indicating whether the left Type is assignable to right Type.