Skip to content

HelpDocument

Machine-readable help document.

public sealed record HelpDocument : IEquatable<HelpDocument>
  • IEquatable<HelpDocument>

HelpDocument(string, IReadOnlyList<HelpCommand>, DateTimeOffset)

Section titled “HelpDocument(string, IReadOnlyList<HelpCommand>, DateTimeOffset)”

Machine-readable help document.

public HelpDocument(string Scope, IReadOnlyList<HelpCommand> Commands, DateTimeOffset GeneratedAtUtc)
  • Scope (string): Current help scope.
  • Commands (IReadOnlyList<HelpCommand>): Discoverable commands in scope.
  • GeneratedAtUtc (DateTimeOffset): Generation timestamp.

Discoverable commands in scope.

public IReadOnlyList<HelpCommand> Commands { get; init; }

IReadOnlyList<HelpCommand>

Generation timestamp.

public DateTimeOffset GeneratedAtUtc { get; init; }

DateTimeOffset

Current help scope.

public string Scope { get; init; }

string