DocumentAddressProvider.TryGetMemberFile Method

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

Definition

Attempts to retrieve the path of the documentation file for the specified member.
public virtual bool TryGetMemberFile(IMember member, [NotNullWhen(true)] out string relativePath)

Parameters

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

Returns

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