Table of Contents

Class GitHubAnnotation

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Optional source location attached to a GitHub Actions notice, warning, or error annotation.

public sealed record GitHubAnnotation : IEquatable<GitHubAnnotation>

Properties

Column

The one-based starting column; valid only for a single-line or same-line range.

public long? Column { get; init; }

Property Value

long?

EndColumn

The one-based ending column; valid only when the start and end lines are equal.

public long? EndColumn { get; init; }

Property Value

long?

EndLine

The one-based ending line; omitted for a single-line annotation.

public long? EndLine { get; init; }

Property Value

long?

File

The workspace-relative file associated with the annotation.

public RelativePath? File { get; init; }

Property Value

RelativePath?

Line

The one-based starting line; required when a column is supplied.

public long? Line { get; init; }

Property Value

long?

Title

The annotation title shown separately from its message.

public string? Title { get; init; }

Property Value

string?