C# Class NCop.Aspects.Weaving.AspectArgsMapperWeaver

Inheritance: ITypeWeaver, IAspectArgsMapper
Afficher le fichier Open project: sagifogel/NCop Class Usage Examples

Méthodes publiques

Méthode Description
GetActionMappingArgs ( int argumentCount ) : MethodInfo
GetFunctionMappingArgs ( int argumentCount ) : MethodInfo
GetPropertyMappingArgs ( Type fromType, Type toType ) : MethodInfo
Weave ( ) : void

Private Methods

Méthode Description
BuildMethod ( TypeBuilder typeBuilder, int numberOfArgs, Type>.Func resolveArgsFn, bool hasReturnType ) : void
BuildNonGenericTypeMethod ( TypeBuilder typeBuilder, int numberOfArgs, Type>.Func resolveArgsFn ) : void
BuildPropertyMappingMethods ( TypeBuilder typeBuilder, Type fromArgType, Type propertyArgType, string fromArgTypePropertyName ) : void
ResolveIActionArgsType ( int count ) : Type
ResolveIFunctionArgsType ( int count ) : Type
WeavePropertyMappingMethods ( ) : void

Method Details

GetActionMappingArgs() public méthode

public GetActionMappingArgs ( int argumentCount ) : MethodInfo
argumentCount int
Résultat System.Reflection.MethodInfo

GetFunctionMappingArgs() public méthode

public GetFunctionMappingArgs ( int argumentCount ) : MethodInfo
argumentCount int
Résultat System.Reflection.MethodInfo

GetPropertyMappingArgs() public méthode

public GetPropertyMappingArgs ( Type fromType, Type toType ) : MethodInfo
fromType System.Type
toType System.Type
Résultat System.Reflection.MethodInfo

Weave() public méthode

public Weave ( ) : void
Résultat void