Class AspireResourceLogEntry

Namespace
XBullet.EasyTesting.Aspire
Assembly
XBullet.EasyTesting.Aspire.dll

One console line emitted by an Aspire resource.

public sealed class AspireResourceLogEntry
Inheritance
AspireResourceLogEntry
Inherited Members

Constructors

AspireResourceLogEntry(int, string, bool)

Creates an immutable resource log entry.

public AspireResourceLogEntry(int lineNumber, string content, bool isError)

Parameters

lineNumber int

The line number reported by Aspire.

content string

The log-line content. Empty content is accepted.

isError bool

true for standard-error output; otherwise, false.

Properties

Content

Gets the console content.

public string Content { get; }

Property Value

string

The log-line content, which can be empty and is not redacted.

IsError

Gets whether the line came from standard error.

public bool IsError { get; }

Property Value

bool

true for standard-error output; otherwise, false.

LineNumber

Gets the resource stream line number.

public int LineNumber { get; }

Property Value

int

The line number reported by Aspire.