Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
Used to specify deployment item (file or directory) for per-test deployment.
Can be specified on test class or test method.
Can have multiple instances of the attribute to specify more than one item.
The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot.
[DeploymentItem("file1.xml")]
[DeploymentItem("file2.xml", "DataFiles")]
[DeploymentItem("bin\Debug")]
Initializes a new instance of the class.
The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies.
Initializes a new instance of the class
The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies.
The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by will be copied to this directory.
Gets the path of the source file or folder to be copied.
Gets the path of the directory to which the item is copied.
Contains literals for names of sections, properties, attributes.
The configuration section name.
The configuration section name for Beta2. Left around for compat.
Section name for Data source.
Attribute name for 'Name'
Attribute name for 'ConnectionString'
Attribute name for 'DataAccessMethod'
Attribute name for 'DataTable'
The Data Source element.
Gets or sets the name of this configuration.
Gets or sets the ConnectionStringSettings element in <connectionStrings> section in the .config file.
Gets or sets the name of the data table.
Gets or sets the type of data access.
Gets the key name.
Gets the configuration properties.
The Data source element collection.
Initializes a new instance of the class.
Returns the configuration element with the specified key.
The key of the element to return.
The System.Configuration.ConfigurationElement with the specified key; otherwise, null.
Gets the configuration element at the specified index location.
The index location of the System.Configuration.ConfigurationElement to return.
Adds a configuration element to the configuration element collection.
The System.Configuration.ConfigurationElement to add.
Removes a System.Configuration.ConfigurationElement from the collection.
The .
Removes a System.Configuration.ConfigurationElement from the collection.
The key of the System.Configuration.ConfigurationElement to remove.
Removes all configuration element objects from the collection.
Creates a new .
A new .
Gets the element key for a specified configuration element.
The System.Configuration.ConfigurationElement to return the key for.
An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement.
Adds a configuration element to the configuration element collection.
The System.Configuration.ConfigurationElement to add.
Adds a configuration element to the configuration element collection.
The index location at which to add the specified System.Configuration.ConfigurationElement.
The System.Configuration.ConfigurationElement to add.
Support for configuration settings for Tests.
Gets the configuration section for tests.
The configuration section for tests.
Gets the data sources for this configuration section.
Gets the collection of properties.
The of properties for the element.
This class represents the live NON public INTERNAL object in the system
Initializes a new instance of the class that contains
the already existing object of the private class
object that serves as starting point to reach the private members
the de-referencing string using . that points to the object to be retrieved as in m_X.m_Y.m_Z
Initializes a new instance of the class that wraps the
specified type.
Name of the assembly
fully qualified name
Arguments to pass to the constructor
Initializes a new instance of the class that wraps the
specified type.
Name of the assembly
fully qualified name
An array of objects representing the number, order, and type of the parameters for the constructor to get
Arguments to pass to the constructor
Initializes a new instance of the class that wraps the
specified type.
type of the object to create
Arguments to pass to the constructor
Initializes a new instance of the class that wraps the
specified type.
type of the object to create
An array of objects representing the number, order, and type of the parameters for the constructor to get
Arguments to pass to the constructor
Initializes a new instance of the class that wraps
the given object.
object to wrap
Initializes a new instance of the class that wraps
the given object.
object to wrap
PrivateType object
Gets or sets the target
Gets the type of underlying object
returns the hash code of the target object
int representing hashcode of the target object
Equals
Object with whom to compare
returns true if the objects are equal.
Invokes the specified method
Name of the method
Arguments to pass to the member to invoke.
Result of method call
Invokes the specified method
Name of the method
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
Result of method call
Invokes the specified method
Name of the method
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
An array of types corresponding to the types of the generic arguments.
Result of method call
Invokes the specified method
Name of the method
Arguments to pass to the member to invoke.
Culture info
Result of method call
Invokes the specified method
Name of the method
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
Culture info
Result of method call
Invokes the specified method
Name of the method
A bitmask comprised of one or more that specify how the search is conducted.
Arguments to pass to the member to invoke.
Result of method call
Invokes the specified method
Name of the method
A bitmask comprised of one or more that specify how the search is conducted.
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
Result of method call
Invokes the specified method
Name of the method
A bitmask comprised of one or more that specify how the search is conducted.
Arguments to pass to the member to invoke.
Culture info
Result of method call
Invokes the specified method
Name of the method
A bitmask comprised of one or more that specify how the search is conducted.
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
Culture info
Result of method call
Invokes the specified method
Name of the method
A bitmask comprised of one or more that specify how the search is conducted.
An array of objects representing the number, order, and type of the parameters for the method to get.
Arguments to pass to the member to invoke.
Culture info
An array of types corresponding to the types of the generic arguments.
Result of method call
Gets the array element using array of subscripts for each dimension
Name of the member
the indices of array
An array of elements.
Sets the array element using array of subscripts for each dimension
Name of the member
Value to set
the indices of array
Gets the array element using array of subscripts for each dimension
Name of the member
A bitmask comprised of one or more that specify how the search is conducted.
the indices of array
An array of elements.
Sets the array element using array of subscripts for each dimension
Name of the member
A bitmask comprised of one or more that specify how the search is conducted.
Value to set
the indices of array
Get the field
Name of the field
The field.
Sets the field
Name of the field
value to set
Gets the field
Name of the field
A bitmask comprised of one or more that specify how the search is conducted.
The field.
Sets the field
Name of the field
A bitmask comprised of one or more that specify how the search is conducted.
value to set
Get the field or property
Name of the field or property
The field or property.
Sets the field or property
Name of the field or property
value to set
Gets the field or property
Name of the field or property
A bitmask comprised of one or more that specify how the search is conducted.
The field or property.
Sets the field or property
Name of the field or property
A bitmask comprised of one or more that specify how the search is conducted.
value to set
Gets the property
Name of the property
Arguments to pass to the member to invoke.
The property.
Gets the property
Name of the property
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
The property.
Set the property
Name of the property
value to set
Arguments to pass to the member to invoke.
Set the property
Name of the property
An array of objects representing the number, order, and type of the parameters for the indexed property.
value to set
Arguments to pass to the member to invoke.
Gets the property
Name of the property
A bitmask comprised of one or more that specify how the search is conducted.
Arguments to pass to the member to invoke.
The property.
Gets the property
Name of the property
A bitmask comprised of one or more that specify how the search is conducted.
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
The property.
Sets the property
Name of the property
A bitmask comprised of one or more that specify how the search is conducted.
value to set
Arguments to pass to the member to invoke.
Sets the property
Name of the property
A bitmask comprised of one or more that specify how the search is conducted.
value to set
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
Validate access string
access string
Invokes the member
Name of the member
Additional attributes
Arguments for the invocation
Culture
Result of the invocation
Extracts the most appropriate generic method signature from the current private type.
The name of the method in which to search the signature cache.
An array of types corresponding to the types of the parameters in which to search.
An array of types corresponding to the types of the generic arguments.
to further filter the method signatures.
Modifiers for parameters.
A method info instance.
This class represents a private class for the Private Accessors functionality.
Binds to everything
The wrapped type.
Initializes a new instance of the class that contains the private type.
Assembly name
fully qualified name of the
Initializes a new instance of the class that contains
the private type from the type object
The wrapped Type to create.
Gets the referenced type
Invokes static member
Name of the member to InvokeHelper
Arguments to the invocation
Result of invocation
Invokes static member
Name of the member to InvokeHelper
An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
Result of invocation
Invokes static member
Name of the member to InvokeHelper
An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
An array of types corresponding to the types of the generic arguments.
Result of invocation
Invokes the static method
Name of the member
Arguments to the invocation
Culture
Result of invocation
Invokes the static method
Name of the member
An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
Culture info
Result of invocation
Invokes the static method
Name of the member
Additional invocation attributes
Arguments to the invocation
Result of invocation
Invokes the static method
Name of the member
Additional invocation attributes
An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
Result of invocation
Invokes the static method
Name of the member
Additional invocation attributes
Arguments to the invocation
Culture
Result of invocation
Invokes the static method
Name of the member
Additional invocation attributes
/// An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
Culture
Result of invocation
Invokes the static method
Name of the member
Additional invocation attributes
/// An array of objects representing the number, order, and type of the parameters for the method to invoke
Arguments to the invocation
Culture
An array of types corresponding to the types of the generic arguments.
Result of invocation
Gets the element in static array
Name of the array
A one-dimensional array of 32-bit integers that represent the indexes specifying
the position of the element to get. For instance, to access a[10][11] the indices would be {10,11}
element at the specified location
Sets the member of the static array
Name of the array
value to set
A one-dimensional array of 32-bit integers that represent the indexes specifying
the position of the element to set. For instance, to access a[10][11] the array would be {10,11}
Gets the element in static array
Name of the array
Additional InvokeHelper attributes
A one-dimensional array of 32-bit integers that represent the indexes specifying
the position of the element to get. For instance, to access a[10][11] the array would be {10,11}
element at the specified location
Sets the member of the static array
Name of the array
Additional InvokeHelper attributes
value to set
A one-dimensional array of 32-bit integers that represent the indexes specifying
the position of the element to set. For instance, to access a[10][11] the array would be {10,11}
Gets the static field
Name of the field
The static field.
Sets the static field
Name of the field
Argument to the invocation
Gets the static field using specified InvokeHelper attributes
Name of the field
Additional invocation attributes
The static field.
Sets the static field using binding attributes
Name of the field
Additional InvokeHelper attributes
Argument to the invocation
Gets the static field or property
Name of the field or property
The static field or property.
Sets the static field or property
Name of the field or property
Value to be set to field or property
Gets the static field or property using specified InvokeHelper attributes
Name of the field or property
Additional invocation attributes
The static field or property.
Sets the static field or property using binding attributes
Name of the field or property
Additional invocation attributes
Value to be set to field or property
Gets the static property
Name of the field or property
Arguments to the invocation
The static property.
Sets the static property
Name of the property
Value to be set to field or property
Arguments to pass to the member to invoke.
Sets the static property
Name of the property
Value to be set to field or property
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
Gets the static property
Name of the property
Additional invocation attributes.
Arguments to pass to the member to invoke.
The static property.
Gets the static property
Name of the property
Additional invocation attributes.
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
The static property.
Sets the static property
Name of the property
Additional invocation attributes.
Value to be set to field or property
Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties.
Sets the static property
Name of the property
Additional invocation attributes.
Value to be set to field or property
An array of objects representing the number, order, and type of the parameters for the indexed property.
Arguments to pass to the member to invoke.
Invokes the static method
Name of the member
Additional invocation attributes
Arguments to the invocation
Culture
Result of invocation
Provides method signature discovery for generic methods.
Compares the method signatures of these two methods.
Method1
Method2
True if they are similar.
Gets the hierarchy depth from the base type of the provided type.
The type.
The depth.
Finds most derived type with the provided information.
Candidate matches.
Number of matches.
The most derived method.
Given a set of methods that match the base criteria, select a method based
upon an array of types. This method should return null if no method matches
the criteria.
Binding specification.
Candidate matches
Types
Parameter modifiers.
Matching method. Null if none matches.
Finds the most specific method in the two methods provided.
Method 1
Parameter order for Method 1
Parameter array type.
Method 2
Parameter order for Method 2
>Parameter array type.
Types to search in.
Args.
An int representing the match.
Finds the most specific method in the two methods provided.
Method 1
Parameter order for Method 1
Parameter array type.
Method 2
Parameter order for Method 2
>Parameter array type.
Types to search in.
Args.
An int representing the match.
Finds the most specific type in the two provided.
Type 1
Type 2
The defining type
An int representing the match.
Used to store information that is provided to unit tests.
Gets test properties for a test.
Gets or sets the cancellation token source. This token source is canceled when test times out. Also when explicitly canceled the test will be aborted
Gets the current data row when test is used for data driven testing.
Gets current data connection row when test is used for data driven testing.
Gets base directory for the test run, under which deployed files and result files are stored.
Gets directory for files deployed for the test run. Typically a subdirectory of .
Gets base directory for results from the test run. Typically a subdirectory of .
Gets directory for test run result files. Typically a subdirectory of .
Gets directory for test result files.
Gets base directory for the test run, under which deployed files and result files are stored.
Same as . Use that property instead.
Gets directory for files deployed for the test run. Typically a subdirectory of .
Same as . Use that property instead.
Gets directory for test run result files. Typically a subdirectory of .
Same as . Use that property for test run result files, or
for test-specific result files instead.
Gets the Fully-qualified name of the class containing the test method currently being executed
Gets the name of the test method currently being executed
Gets the current test outcome.
Used to write trace messages while the test is running
formatted message string
Used to write trace messages while the test is running
format string
the arguments
Used to write trace messages while the test is running
formatted message string
Used to write trace messages while the test is running
format string
the arguments
Adds a file name to the list in TestResult.ResultFileNames
The file Name.
Begins a timer with the specified name
Name of the timer.
Ends a timer with the specified name
Name of the timer.