ReplDocResource
Resource metadata for commands marked as data sources.
- Kind:
Class - Namespace: Repl.Documentation
- Assembly:
Repl.Core - Source: src/Repl.Core/Documentation/ReplDocResource.cs
Signature
Section titled “Signature”public sealed record ReplDocResource : IEquatable<ReplDocResource>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<ReplDocResource>
Constructors
Section titled “Constructors”ReplDocResource(string, string?, string?, IReadOnlyList<ReplDocArgument>, IReadOnlyList<ReplDocOption>)
Section titled “ReplDocResource(string, string?, string?, IReadOnlyList<ReplDocArgument>, IReadOnlyList<ReplDocOption>)”Resource metadata for commands marked as data sources.
public ReplDocResource(string Path, string? Description, string? Details, IReadOnlyList<ReplDocArgument> Arguments, IReadOnlyList<ReplDocOption> Options)Parameters
Section titled “Parameters”Path(string)Description(string)Details(string)Arguments(IReadOnlyList<ReplDocArgument>)Options(IReadOnlyList<ReplDocOption>)
Properties
Section titled “Properties”Arguments
Section titled “Arguments”public IReadOnlyList<ReplDocArgument> Arguments { get; init; }Returns
Section titled “Returns”IReadOnlyList<ReplDocArgument>
Description
Section titled “Description”public string? Description { get; init; }Returns
Section titled “Returns”Details
Section titled “Details”public string? Details { get; init; }Returns
Section titled “Returns”Options
Section titled “Options”public IReadOnlyList<ReplDocOption> Options { get; init; }Returns
Section titled “Returns”IReadOnlyList<ReplDocOption>
public string Path { get; init; }