DocumentAddressProvider.TryGetNamespaceUrl Method

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

Definition

Attempts to retrieve the documentation URL for the specified namespace.
public virtual bool TryGetNamespaceUrl(string ns, [NotNullWhen(true)] out Uri url)

Parameters

ns string
The namespace to retrieve the documentation URL for.
url Uri
When this method returns, contains the documentation URL for the specified namespace, if it has a documentation URL; otherwise, null.

Returns

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