Class BowireReportSource

Namespace
Kuestenlogik.Bowire.Reporting
Assembly
Kuestenlogik.Bowire.dll

One artefact the rollup read, kept alongside the row it fed so a reader can trace a number back to the file it came from (#587).

public sealed record BowireReportSource : IEquatable<BowireReportSource>
Inheritance
BowireReportSource
Implements
Inherited Members

Constructors

BowireReportSource(BowireReportKind, string, string?)

One artefact the rollup read, kept alongside the row it fed so a reader can trace a number back to the file it came from (#587).

public BowireReportSource(BowireReportKind Kind, string Path, string? Error = null)

Parameters

Kind BowireReportKind

What the file turned out to be.

Path string

Where it was read from.

Error string

Why it could not be used, when it could not.

Properties

Error

Why it could not be used, when it could not.

public string? Error { get; init; }

Property Value

string

Kind

What the file turned out to be.

public BowireReportKind Kind { get; init; }

Property Value

BowireReportKind

Path

Where it was read from.

public string Path { get; init; }

Property Value

string

Methods

Deconstruct(out BowireReportKind, out string, out string?)

public void Deconstruct(out BowireReportKind Kind, out string Path, out string? Error)

Parameters

Kind BowireReportKind
Path string
Error string

Equals(BowireReportSource?)

public bool Equals(BowireReportSource? other)

Parameters

other BowireReportSource

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowireReportSource?, BowireReportSource?)

public static bool operator ==(BowireReportSource? left, BowireReportSource? right)

Parameters

left BowireReportSource
right BowireReportSource

Returns

bool

operator !=(BowireReportSource?, BowireReportSource?)

public static bool operator !=(BowireReportSource? left, BowireReportSource? right)

Parameters

left BowireReportSource
right BowireReportSource

Returns

bool