Show / Hide Table of Contents

Class ReflectiveGetter

Class to get test action using reflection.

Inheritance
System.Object
ReflectiveGetter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TestingDriver
Assembly: TestingDriver.dll
Syntax
public class ReflectiveGetter

Methods

| Improve this Doc View Source

GetEnumerableOfType<T>(Object[])

Gets a list of all subclasses of base class T using reflection.

Declaration
public static List<T> GetEnumerableOfType<T>(params object[] constructorArgs)
    where T : class
Parameters
Type Name Description
System.Object[] constructorArgs

The constructorArgsobject[].

Returns
Type Description
System.Collections.Generic.List<T>

System.Collections.Generic.List<T> found.

Type Parameters
Name Description
T

The generic type T to be used.

| Improve this Doc View Source

GetImplementationOfType<T>(Object[])

Gets a list of all implentation of base class T using reflection.

Declaration
public static List<T> GetImplementationOfType<T>(params object[] constructorArgs)
    where T : class
Parameters
Type Name Description
System.Object[] constructorArgs

The constructorArgsobject[].

Returns
Type Description
System.Collections.Generic.List<T>

System.Collections.Generic.List<T> found.

Type Parameters
Name Description
T

The generic type T to be used.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX