ICxTypeQuery

Description

interface Tinman.Core.Cx.ICxTypeQuery

Extended by

CxDeclaration abstract
CxType abstract

Base interface for types and declarations that provides method for performing type checks.

Public / Methods

Is​Assignable​From

2 overloads


[Pure]
public method IsAssignableFrom1 → (1)

type in : CxType

The other type or null.

returns → bool

true if type in may be assigned to this,
false if not or type in is null.

Is this type assignable from the given type in?


[Pure]
public method IsAssignableFrom2 → (1)

type in : CxDeclarationType

The other type or null.

returns → bool

true if type in may be assigned to this,
false if not or type in is null.

Is this type assignable from the given type in?

Is​Assignable​To

2 overloads


[Pure]
public method IsAssignableTo1 → (1)

type in : CxType

The other type or null.

returns → bool

true if this may be assigned to type in,
false if not or type in is null.

Is this type assignable to the given type in?


[Pure]
public method IsAssignableTo2 → (1)

type in : CxDeclarationType

The other type or null.

returns → bool

true if this may be assigned to type in,
false if not or type in is null.

Is this type assignable to the given type in?

Is​Same​As

2 overloads


[Pure]
public method IsSameAs1 → (1)

type in : CxDeclarationType

The other type or null.

returns → bool

true if the types are the same,
false if not or type in is null.

Checks if this type and the given type in are the same.


public method IsSameAs2 → (1)

type in : CxType

The other type or null.

returns → bool

true if the types are the same,
false if not or type in is null.

Checks if this type and the given type in are the same.