AutoLinkOptions Class

Represents the AutoLinkOptions type.

public class AutoLinkOptions : LinkOptions
Inheritance
LinkOptions AutoLinkOptions

Constructors

NameDescription
AutoLinkOptions()Initializes a new instance of the AutoLinkOptions class.

AutoLinkOptions()

AutoLinkOptions.cs

Initializes a new instance of the AutoLinkOptions class.

public AutoLinkOptions()

Properties

NameDescription
AllowDomainWithoutPeriodShould auto-linking allow a domain with no period, e.g. https://localhost (false by default)
UseHttpsForWWWLinksShould a www link be prefixed with https:// instead of http:// (false by default)
ValidPreviousCharactersGets or sets the valid previous characters.

AllowDomainWithoutPeriod

AutoLinkOptions.cs

Should auto-linking allow a domain with no period, e.g. https://localhost (false by default)

public bool AllowDomainWithoutPeriod { get; set; }

Property value

bool

ValidPreviousCharacters

AutoLinkOptions.cs

Gets or sets the valid previous characters.

public string ValidPreviousCharacters { get; set; }

Property value

string