C# Class Shaspect.Builder.NestingStrategy

Determines how aspects from different levels are merged. E.g. how aspects on class level are merged with method aspects.
ファイルを表示 Open project: mshmelev/Shaspect Class Usage Examples

Public Methods

Method Description
GetApplicableAspects ( IEnumerable aspects, Mono.Cecil.MethodDefinition method ) : IEnumerable

Private Methods

Method Description
BuildRegexFromSearchPattern ( string pattern ) : Regex
IsApplicableElementTarget ( AspectDeclaration aspect, Mono.Cecil.MethodDefinition method ) : bool
IsApplicableMemberTarget ( AspectDeclaration aspect, Mono.Cecil.MethodDefinition method ) : bool
IsApplicableTypeTarget ( AspectDeclaration aspect, Mono.Cecil.MethodDefinition method ) : bool

Method Details

GetApplicableAspects() public static method

public static GetApplicableAspects ( IEnumerable aspects, Mono.Cecil.MethodDefinition method ) : IEnumerable
aspects IEnumerable
method Mono.Cecil.MethodDefinition
return IEnumerable