FileLocationProperty Class

Definition

Base property that represents a file location.

public abstract class FileLocationProperty : IEquatable<Microsoft.Testing.Platform.Extensions.Messages.FileLocationProperty>, Microsoft.Testing.Platform.Extensions.Messages.IProperty
type FileLocationProperty = class
    interface IProperty
    interface IEquatable<FileLocationProperty>
Public MustInherit Class FileLocationProperty
Implements IEquatable(Of FileLocationProperty), IProperty
Inheritance
FileLocationProperty
Derived
Implements

Constructors

Name Description
FileLocationProperty(FileLocationProperty)
FileLocationProperty(String, LinePositionSpan)

Initializes a new instance of the FileLocationProperty class.

Properties

Name Description
EqualityContract
FilePath

Gets the file path.

LineSpan

Gets the line position span.

Methods

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

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

Equals(Object)

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

GetHashCode()

Serves as the default hash function.

PrintMembers(StringBuilder)
ToString()

Returns a string that represents the current object.

Operators

Name Description
Equality(FileLocationProperty, FileLocationProperty)
Inequality(FileLocationProperty, FileLocationProperty)

Applies to