C# Class Spring.Core.MethodReturnTypeCriteria

Criteria that is satisfied if the return System.Type of a given System.Reflection.MethodInfo matches a given System.Type.
Inheritance: ICriteria
ファイルを表示 Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
IsSatisfied ( object datum ) : bool

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

MethodReturnTypeCriteria ( ) : System

Creates a new instance of the MethodReturnTypeCriteria class.

MethodReturnTypeCriteria ( Type type ) : System

Creates a new instance of the MethodReturnTypeCriteria class.

Method Details

IsSatisfied() public method

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.
return bool

MethodReturnTypeCriteria() public method

Creates a new instance of the MethodReturnTypeCriteria class.
public MethodReturnTypeCriteria ( ) : System
return System

MethodReturnTypeCriteria() public method

Creates a new instance of the MethodReturnTypeCriteria class.
public MethodReturnTypeCriteria ( Type type ) : System
type System.Type /// The that the return type of a given /// must match in order to satisfy /// this criteria. ///
return System