UriExportContext

UriExportContext class

Contains information about a resource URI being written during conversion. Passed to UpdateResourceUri.

public class UriExportContext

Properties

Name Description
ResourceFileName { get; } Gets the default resource file name generated by the library.
ResourceFileNameOutput { get; } Gets the overridden file name, or null if no override was set.
ResourceFileUri { get; } Gets the default URI that the library would write into the Markdown output.
ResourceFileUriOutput { get; } Gets the overridden URI, or null if no override was set.

Methods

Name Description
SetResourceFileName(string) Overrides the resource file name in the Markdown output.
SetResourceFileUri(string) Overrides the URI that will appear in the Markdown output.

Remarks

Read the default values from ResourceFileName and ResourceFileUri, then call SetResourceFileName or SetResourceFileUri to override them.

See Also