Table of Contents

Class TagHelperOptions

Namespace
Cuemon.AspNetCore.Razor.TagHelpers
Assembly
Cuemon.AspNetCore.Razor.TagHelpers.dll

Configuration options for CacheBustingTagHelper<TOptions>.

public abstract class TagHelperOptions : IParameterObject
Inheritance
Object
TagHelperOptions
Implements
Derived

Constructors

TagHelperOptions()

Initializes a new instance of the CdnTagHelperOptions class.

protected TagHelperOptions()

Remarks

The following table shows the initial property values for an instance of CdnTagHelperOptions.

PropertyInitial Value
SchemeRelative
BaseUrlnull

Properties

BaseUrl

Gets or sets the base URL of these options.

public string BaseUrl { get; set; }

Property Value

String

The base URL of these options.

Scheme

Gets or sets the ProtocolUriScheme of these options.

public ProtocolUriScheme Scheme { get; set; }

Property Value

ProtocolUriScheme

The ProtocolUriScheme of these options.

Methods

GetFormattedBaseUrl()

Gets the base URL of this instance, formatted according to the defined Scheme.

public string GetFormattedBaseUrl()

Returns

String

The base URL of this instance, formatted according to the defined Scheme.