TestMetadataProperty Class

Definition

Property that represents a generic test metadata property in the shape of a key-value pair associated with a TestNode.

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

Constructors

Name Description
TestMetadataProperty(String, String)

Initializes a new instance of the TestMetadataProperty class with a key and value.

TestMetadataProperty(String)

Initializes a new instance of the TestMetadataProperty class with a key and an empty value.

Properties

Name Description
Key

Gets the metadata key.

Value

Gets the metadata value.

Methods

Name Description
<Clone>$()
Deconstruct(String, String)
Equals(Object)

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

Equals(TestMetadataProperty)

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(TestMetadataProperty, TestMetadataProperty)
Inequality(TestMetadataProperty, TestMetadataProperty)

Applies to