IDocumentAddressProvider.TryGetNamespaceFile Method

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

Definition

Attempts to retrieves the path of the documentation file for the specified namespace.
bool TryGetNamespaceFile(string ns, [NotNullWhen(true)] out string relativePath)

Parameters

ns string
The namespace to retrieve the documentation file path for.
relativePath string
When this method returns, contains the relative path of the documentation file for the specified namespace, if the namespace has a documentation file path; otherwise, null.

Returns

bool
true if the namespace has a documentation file path; otherwise, false.