C# 클래스 Open.TestHarness.ReflectionExtensions

파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
GetTags ( this member ) : IEnumerable

Retrieves the tag elements from the given type.

GetViewTestClasses ( this assembly ) : IEnumerable

Gets the collection of Types decorated with the [ViewTestClass] method.

GetViewTestClasses ( this assembly, string className ) : IEnumerable

Gets the collection of Types decorated with the [ViewTestClass] method.

GetViewTestMethods ( this assembly, string methodName = null ) : IEnumerable

Gets the collection of Method's (decorated with the [ViewTest] attribute) with the corresponding method name.

메소드 상세

GetTags() 공개 정적인 메소드

Retrieves the tag elements from the given type.
public static GetTags ( this member ) : IEnumerable
member this The type to examine.
리턴 IEnumerable

GetViewTestClasses() 공개 정적인 메소드

Gets the collection of Types decorated with the [ViewTestClass] method.
public static GetViewTestClasses ( this assembly ) : IEnumerable
assembly this The assembly to look within.
리턴 IEnumerable

GetViewTestClasses() 공개 정적인 메소드

Gets the collection of Types decorated with the [ViewTestClass] method.
public static GetViewTestClasses ( this assembly, string className ) : IEnumerable
assembly this The assembly to look within.
className string /// The class-name filter. If a simple class name, all classes that match (in any namespace) will be returned. /// If a fully qualified class-name (with namespace) is provided only that class will be retrieved. ///
리턴 IEnumerable

GetViewTestMethods() 공개 정적인 메소드

Gets the collection of Method's (decorated with the [ViewTest] attribute) with the corresponding method name.
public static GetViewTestMethods ( this assembly, string methodName = null ) : IEnumerable
assembly this The assembly to look within.
methodName string /// The name of the method (not case sensitive).
/// If only the method name is specified, all matching methods (from any class in any namespace) will be returned.
/// If a fully-qualified method name (with namespace) is provided only that method will be retrieved.
/// Passing null returns all [ViewTest] methods within the assembly. ///
리턴 IEnumerable