Метод | Описание | |
---|---|---|
EntityNeedsMapping ( IEntity entity ) : bool | ||
GenericMapping ( |
Constructs a new generic mapping between a generic method and one of its constructed methods.
|
|
GenericMapping ( |
Constructs a new generic mapping between a generic type and one of its constructed types.
|
|
Map ( IConstructor source ) : IConstructor |
Maps a constructor on a generic type definition to its constructed counterpart.
|
|
Map ( IEntity source ) : IEntity |
Maps a type member involving generic arguments to its constructed counterpart, after substituting concrete types for generic arguments.
|
|
Map ( IEvent source ) : IEvent |
Maps an event on a generic type definition to its constructed counterpart.
|
|
Map ( IField source ) : IField |
Maps a field on a generic type definition to its constructed counterpart.
|
|
Map ( IMethod source ) : IMethod |
Maps a method on a generic type definition to its constructed counterpart.
|
|
Map ( IParameter source ) : IParameter |
Maps a parameter in a generic, constructed or mapped method to its constructed counterpart.
|
|
Map ( IParameter sources ) : IParameter[] |
Maps an array of parameters in a generic, constructed or mapped method to their constructed counterparts.
|
|
Map ( IProperty source ) : IProperty |
Maps a property on a generic type definition to its constructed counterpart.
|
|
Map ( IType source ) : IType |
Maps a type involving generic parameters to its constructed counterpart.
|
|
UnMap ( IMethod method ) : IMethod |
Gets the method from which the specified method was mapped.
|
Метод | Описание | |
---|---|---|
GenericMapping ( |
Constrcuts a new GenericMapping for a specific mapping of generic parameters to type arguments.
|
|
MapType ( IType sourceType ) : IType |
Maps a type involving generic parameters to the corresponding type after substituting concrete arguments for generic parameters. If the source type is a generic parameter, it is mapped to the corresponding argument. If the source type is an open generic type using any of the specified generic parameters, it is mapped to a closed constructed type based on the specified arguments. |
Метод | Описание | |
---|---|---|
MapAmbiguousEntity ( |
public EntityNeedsMapping ( IEntity entity ) : bool | ||
entity | IEntity | |
Результат | bool |
protected GenericMapping ( |
||
tss | ||
parameters | IGenericParameter | The generic parameters that should be mapped. |
arguments | IType | The type arguments to map generic parameters to. |
Результат | System |
public GenericMapping ( |
||
tss | ||
constructedMethod | IMethod | |
arguments | IType | |
Результат | System |
public GenericMapping ( |
||
tss | ||
constructedType | IType | |
arguments | IType | |
Результат | System |
public Map ( IConstructor source ) : IConstructor | ||
source | IConstructor | |
Результат | IConstructor |
public Map ( IParameter source ) : IParameter | ||
source | IParameter | |
Результат | IParameter |
public Map ( IParameter sources ) : IParameter[] | ||
sources | IParameter | |
Результат | IParameter[] |
public Map ( IProperty source ) : IProperty | ||
source | IProperty | |
Результат | IProperty |
protected MapType ( IType sourceType ) : IType | ||
sourceType | IType | |
Результат | IType |