TestMethodIdentifierProperty Class

Definition

Property that uniquely identifies a test method. Values are ECMA-335 compliant.

public sealed class TestMethodIdentifierProperty : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.TestMethodIdentifierProperty>, Microsoft.Testing.Platform.Extensions.Messages.IProperty
type TestMethodIdentifierProperty = class
    interface IProperty
    interface IEquatable<TestMethodIdentifierProperty>
Public NotInheritable Class TestMethodIdentifierProperty
Implements IEquatable(Of TestMethodIdentifierProperty), IProperty
Inheritance
TestMethodIdentifierProperty
Implements

Constructors

Name Description
TestMethodIdentifierProperty(String, String, String, String, Int32, String[], String)

Initializes a new instance of the TestMethodIdentifierProperty class.

TestMethodIdentifierProperty(String, String, String, String, String[], String)
Obsolete.

Initializes a new instance of the TestMethodIdentifierProperty class.

Properties

Name Description
AssemblyFullName

Gets the assembly full name.

MethodArity

Gets the number of generic parameters of the method.

MethodName

Gets the method name in metadata format.

Namespace

Gets the namespace.

ParameterTypeFullNames

Gets the parameter type full names in metadata format.

ReturnTypeFullName

Gets the return type full name in metadata format.

TypeName

Gets the type name in metadata format, not including the namespace.

Methods

Name Description
<Clone>$()
Deconstruct(String, String, String, String, Int32, String[], String)
Deconstruct(String, String, String, String, String[], String)

Deconstructs properties of TestMethodIdentifierProperty, except MethodArity. This is present only for backwards compatibility.

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(TestMethodIdentifierProperty)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(TestMethodIdentifierProperty, TestMethodIdentifierProperty)
Inequality(TestMethodIdentifierProperty, TestMethodIdentifierProperty)

Applies to