C# Class Spring.Core.MethodNameMatchCriteria

Criteria that is satisfied if the method Name of an System.Reflection.MethodInfo instance matches a supplied string pattern.

Supports the following simple pattern styles: "xxx*", "*xxx" and "*xxx*" matches, as well as direct equality.

Inheritance: ICriteria
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
IsSatisfied ( object datum ) : bool

Does the supplied datum satisfy the criteria encapsulated by this instance?

MethodNameMatchCriteria ( ) : System.Reflection

Creates a new instance of the MethodNameMatchCriteria class.

This constructor sets the MethodNameMatchCriteria.Pattern property to * (any method name).

MethodNameMatchCriteria ( string pattern ) : System.Reflection

Creates a new instance of the MethodNameMatchCriteria class.

Method Details

IsSatisfied() public méthode

Does the supplied datum satisfy the criteria encapsulated by this instance?
public IsSatisfied ( object datum ) : bool
datum object The datum to be checked by this criteria instance.
Résultat bool

MethodNameMatchCriteria() public méthode

Creates a new instance of the MethodNameMatchCriteria class.

This constructor sets the MethodNameMatchCriteria.Pattern property to * (any method name).

public MethodNameMatchCriteria ( ) : System.Reflection
Résultat System.Reflection

MethodNameMatchCriteria() public méthode

Creates a new instance of the MethodNameMatchCriteria class.
/// If the supplied is null or resolve to an empty string. ///
public MethodNameMatchCriteria ( string pattern ) : System.Reflection
pattern string
Résultat System.Reflection