Skip to content

Class ReferenceDocsSurface

Namespace: Cephalon.AspNetCore.Documentation
Assembly: Cephalon.AspNetCore.dll

Describes the operator-facing HTTP surface for hosted Cephalon reference documentation.

public sealed record ReferenceDocsSurface : IEquatable<ReferenceDocsSurface>

objectReferenceDocsSurface

IEquatable<ReferenceDocsSurface>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

ReferenceDocsSurface(bool, bool, string, string, string, string, string, string, string, string, string)

Section titled “ ReferenceDocsSurface(bool, bool, string, string, string, string, string, string, string, string, string)”

Describes the operator-facing HTTP surface for hosted Cephalon reference documentation.

public ReferenceDocsSurface(bool Enabled, bool Available, string RoutePrefix, string DefaultDocument, string DefaultDocumentPath, string ReadmePath, string BrowserPath, string NamespaceIndexPath, string TypeIndexPath, string MemberIndexPath, string ManifestPath)

Enabled bool

Whether reference-doc hosting is enabled for the current host.

Available bool

Whether the configured documentation directory and default document were found and mapped.

RoutePrefix string

The route prefix where the documentation is served.

DefaultDocument string

The document opened when the route prefix is requested.

DefaultDocumentPath string

The hosted path to the configured default document.

ReadmePath string

The hosted path to the reference-doc landing page.

BrowserPath string

The hosted path to the interactive browser UI.

NamespaceIndexPath string

The hosted path to the namespace index.

TypeIndexPath string

The hosted path to the type index.

MemberIndexPath string

The hosted path to the member index.

ManifestPath string

The hosted path to the machine-readable manifest.

Whether the configured documentation directory and default document were found and mapped.

public bool Available { get; init; }

bool

The hosted path to the interactive browser UI.

public string BrowserPath { get; init; }

string

The document opened when the route prefix is requested.

public string DefaultDocument { get; init; }

string

The hosted path to the configured default document.

public string DefaultDocumentPath { get; init; }

string

Whether reference-doc hosting is enabled for the current host.

public bool Enabled { get; init; }

bool

The hosted path to the machine-readable manifest.

public string ManifestPath { get; init; }

string

The hosted path to the member index.

public string MemberIndexPath { get; init; }

string

The hosted path to the namespace index.

public string NamespaceIndexPath { get; init; }

string

The hosted path to the reference-doc landing page.

public string ReadmePath { get; init; }

string

The route prefix where the documentation is served.

public string RoutePrefix { get; init; }

string

The hosted path to the type index.

public string TypeIndexPath { get; init; }

string