UrlReference Class

Namespace
Kampute.DocToolkit.Routing
Assembly
  • Kampute.DocToolkit.dll

Definition

Represents a non-API URL that has been referenced in the documentation.
public class UrlReference
Inheritance

Constructors

UrlReference(DocumentUrlContext, string, Uri)Initializes a new instance of the UrlReference class using the specified scope.
UrlReference(IDocumentModel, string, string, Uri)Initializes a new instance of the UrlReference class using the referencing model and base directory.

Properties

BaseDirectoryGets the directory path of the referencing model's documentation page, relative to the documentation root.
ReferencingModelGets the documentation model in which the URL is referenced.
SourceUrlGets the original URL string from the documentation source (e.g., XML comment or topic).
TargetUrlGets the URL corresponding to the SourceUrl in the generated documentation.

Methods

ToString()Returns a string that represents the current UrlReference.