C# Class Fan.Sys.GenericType

GenericType is the base class for ListType, MapType, and MethodType which all support parameterization of the generic parameter types (such as A-H, V, K). Instances of GenericType are used to represent generic instances (for example an instance of ListType is used to represent string[]).
Inheritance: Type
Afficher le fichier Open project: xored/f4

Méthodes publiques

Méthode Description
@base ( ) : Type
@is ( Type type ) : bool
@params ( ) : Map
doc ( ) : string
dotnetRepr ( ) : bool
facet ( Type t, bool c ) : Facet
facets ( ) : List
fields ( ) : List
inheritance ( ) : List
isGenericInstance ( ) : bool
methods ( ) : List
mixins ( ) : List
name ( ) : string
pod ( ) : Pod
qname ( ) : string
signature ( ) : string
slot ( string name, bool check ) : Slot
slots ( ) : List

Méthodes protégées

Méthode Description
doParameterize ( Type t ) : Type

Parameterize t, where t is a generic parameter type such as V.

doReflect ( ) : void

Private Methods

Méthode Description
GenericType ( Type baseType ) : System.Collections
flags ( ) : int
makeParams ( ) : Map
parameterize ( Field f ) : Field

Parameterize the specified field (reuse if generic parameterization isn't necessary).

parameterize ( Method m ) : Method

Parameterize the specified method (reuse if generic parameterization isn't necessary).

parameterize ( Type t ) : Type

Parameterize t, where t is a generic parameter type such as V.

parameterizeFuncType ( FuncType t ) : FuncType

Recursively parameterize the pars of a method type.

parameterizeListType ( ListType t ) : Type

Recursively parameterize the a generic list type.

reflect ( ) : Type
toNullable ( ) : Type

Method Details

@base() public final méthode

public final @base ( ) : Type
Résultat Type

@is() public méthode

public @is ( Type type ) : bool
type Type
Résultat bool

@params() public méthode

public @params ( ) : Map
Résultat Map

doParameterize() protected abstract méthode

Parameterize t, where t is a generic parameter type such as V.
protected abstract doParameterize ( Type t ) : Type
t Type
Résultat Type

doReflect() protected méthode

protected doReflect ( ) : void
Résultat void

doc() public méthode

public doc ( ) : string
Résultat string

dotnetRepr() public final méthode

public final dotnetRepr ( ) : bool
Résultat bool

facet() public méthode

public facet ( Type t, bool c ) : Facet
t Type
c bool
Résultat Facet

facets() public méthode

public facets ( ) : List
Résultat List

fields() public final méthode

public final fields ( ) : List
Résultat List

inheritance() public final méthode

public final inheritance ( ) : List
Résultat List

isGenericInstance() public méthode

public isGenericInstance ( ) : bool
Résultat bool

methods() public final méthode

public final methods ( ) : List
Résultat List

mixins() public final méthode

public final mixins ( ) : List
Résultat List

name() public final méthode

public final name ( ) : string
Résultat string

pod() public final méthode

public final pod ( ) : Pod
Résultat Pod

qname() public final méthode

public final qname ( ) : string
Résultat string

signature() public abstract méthode

public abstract signature ( ) : string
Résultat string

slot() public final méthode

public final slot ( string name, bool check ) : Slot
name string
check bool
Résultat Slot

slots() public final méthode

public final slots ( ) : List
Résultat List