C# Class AspectSharp.Core.Matchers.DefaultAspectMatcher

Inheritance: IAspectMatcher
Mostra file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Match ( Type targetType, AspectDefinitionCollection aspects ) : AspectSharp.Lang.AST.AspectDefinition[]

Protected Methods

Method Description
ObtainClassMatcher ( AspectSharp.Lang.AST.AspectDefinition aspect ) : IClassMatcher
ObtainCustomMatcher ( TargetTypeDefinition target ) : IClassMatcher

Private Methods

Method Description
GetCustomMatcherFromCache ( Type customType ) : IClassMatcher
RegisterMatcherInCache ( IClassMatcher matcher, Type customType ) : void

Method Details

Match() public method

public Match ( Type targetType, AspectDefinitionCollection aspects ) : AspectSharp.Lang.AST.AspectDefinition[]
targetType System.Type
aspects AspectSharp.Lang.AST.AspectDefinitionCollection
return AspectSharp.Lang.AST.AspectDefinition[]

ObtainClassMatcher() protected method

protected ObtainClassMatcher ( AspectSharp.Lang.AST.AspectDefinition aspect ) : IClassMatcher
aspect AspectSharp.Lang.AST.AspectDefinition
return IClassMatcher

ObtainCustomMatcher() protected method

protected ObtainCustomMatcher ( TargetTypeDefinition target ) : IClassMatcher
target AspectSharp.Lang.AST.TargetTypeDefinition
return IClassMatcher