C# Class Spring.Context.Attributes.TypeFilters.AssignableTypeFilter

A simple filter which matches classes that are assignable to a given type.
Inheritance: AbstractLoadTypeFilter
Mostra file Open project: spring-projects/spring-net-codeconfig

Public Methods

Method Description
AssignableTypeFilter ( string expression ) : System

Create a Type Filter with required type

Match ( Type type ) : bool

Determine a match based on the given type object.

Method Details

AssignableTypeFilter() public method

Create a Type Filter with required type
public AssignableTypeFilter ( string expression ) : System
expression string type name including assembly name
return System

Match() public method

Determine a match based on the given type object.
public Match ( Type type ) : bool
type System.Type Type to compare against
return bool