IDocumentAddressProvider.TryGetTopicUrl Method

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

Definition

Attempts to retrieve the URL for the specified topic.
bool TryGetTopicUrl(ITopic topic, [NotNullWhen(true)] out Uri url)

Parameters

topic ITopic
The topic to retrieve the URL for.
url Uri
When this method returns, contains the URL of the topic if found; otherwise, null. This parameter is passed uninitialized.

Returns

bool
true if the URL of the topic is found; otherwise, false.