MicrosoftDocs Class

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

Definition

Provides URLs to the Microsoft Docs documentation site for .NET code elements.
public sealed class MicrosoftDocs : StrategyBasedApiDocUrlResolver
Inheritance

Remarks

This class resolves URLs for .NET code elements by linking to the official Microsoft Docs API documentation. By default, this resolver is configured to handle code elements in namespaces matching the following patterns:
  • System.*
  • Microsoft.*
  • Windows.*
  • Visibility.*

Constructors

MicrosoftDocs()Initializes a new instance of the MicrosoftDocs class.

Methods

ResolveMemberUrl(IMember)Attempts to resolve the documentation URL for the specified member.
ResolveNamespaceUrl(string)Attempts to resolve the documentation URL for the specified namespace.

Extension Methods

TryGetUrlByCodeReference(this IApiDocUrlProvider, string, out Uri)Attempts to retrieves the documentation URL for the specified code reference.