C# Class Microsoft.Silverlight.Testing.Harness.LazyMethodInfo

A class that does a lazy lookup when needed using reflection.
ファイルを表示 Open project: garyjohnson/wpnest Class Usage Examples

Public Methods

Method Description
HasMethodInfo ( ) : bool

Whether the type has a method info.

LazyMethodInfo ( Type attributeType ) : System

Construct a new lazy method wrapper.

LazyMethodInfo ( Type searchType, Type attributeType ) : System

Construct a new lazy method wrapper.

Protected Methods

Method Description
Search ( ) : void

Perform a search on the type.

Private Methods

Method Description
GetMethodInfo ( ) : MethodInfo

Method Details

HasMethodInfo() public method

Whether the type has a method info.
public HasMethodInfo ( ) : bool
return bool

LazyMethodInfo() public method

Construct a new lazy method wrapper.
public LazyMethodInfo ( Type attributeType ) : System
attributeType System.Type The attribute type.
return System

LazyMethodInfo() public method

Construct a new lazy method wrapper.
public LazyMethodInfo ( Type searchType, Type attributeType ) : System
searchType System.Type Type to search.
attributeType System.Type Attribute type.
return System

Search() protected method

Perform a search on the type.
protected Search ( ) : void
return void