C# 클래스 Spring.Core.MethodArgumentsCriteria

Criteria that is satisfied if the System.Type of each of the arguments matches each of the parameter System.Types of a given System.Reflection.MethodInfo.

If no System.Type array is passed to the overloaded constructor, any method that has no parameters will satisfy an instance of this class. The same effect could be achieved by passing the Spring.Util.ObjectUtils.EmptyObjects array to the overloaded constructor.

상속: ICriteria
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
IsSatisfied ( object datum ) : bool

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

This implementation respects the inheritance chain of any parameter System.Types... i.e. methods that have a base type (or interface) that is assignable to the System.Type in the same corresponding index of the parameter types will satisfy this criteria instance.

MethodArgumentsCriteria ( ) : System

Creates a new instance of the MethodArgumentsCriteria class.

MethodArgumentsCriteria ( object arguments ) : System

Creates a new instance of the MethodArgumentsCriteria class.

If the supplied arguments array is null, then this constructor uses the System.Type.EmptyTypes array.

메소드 상세

IsSatisfied() 공개 메소드

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

This implementation respects the inheritance chain of any parameter System.Types... i.e. methods that have a base type (or interface) that is assignable to the System.Type in the same corresponding index of the parameter types will satisfy this criteria instance.

public IsSatisfied ( object datum ) : bool
datum object The datum to be checked by this criteria instance.
리턴 bool

MethodArgumentsCriteria() 공개 메소드

Creates a new instance of the MethodArgumentsCriteria class.
public MethodArgumentsCriteria ( ) : System
리턴 System

MethodArgumentsCriteria() 공개 메소드

Creates a new instance of the MethodArgumentsCriteria class.

If the supplied arguments array is null, then this constructor uses the System.Type.EmptyTypes array.

public MethodArgumentsCriteria ( object arguments ) : System
arguments object /// The array that this criteria will use to /// check parameter s. ///
리턴 System