Show / Hide Table of Contents

    Class CdnTagHelper

    Provides a base-class for CDN-related Microsoft.AspNetCore.Razor.TagHelpers.TagHelper implementation in Razor for ASP.NET Core. Implements the Microsoft.AspNetCore.Razor.TagHelpers.TagHelper Implements the IConfigurable<TOptions>

    Inheritance
    System.Object
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
    CdnTagHelper
    ImageCdnTagHelper
    LinkCdnTagHelper
    ScriptCdnTagHelper
    Implements
    Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
    Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent
    IConfigurable<CdnTagHelperOptions>
    Inherited Members
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.Init(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext)
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.Process(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput)
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.ProcessAsync(Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContext, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput)
    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper.Order
    Namespace: Cuemon.AspNetCore.Razor.TagHelpers
    Assembly: Cuemon.AspNetCore.Razor.TagHelpers.dll
    Syntax
    public abstract class CdnTagHelper : TagHelper, ITagHelper, ITagHelperComponent, IConfigurable<CdnTagHelperOptions>

    Constructors

    | Improve this Doc

    CdnTagHelper(IOptions<CdnTagHelperOptions>, ICacheBusting)

    Initializes a new instance of the CdnTagHelper class.

    Declaration
    protected CdnTagHelper(IOptions<CdnTagHelperOptions> setup, ICacheBusting cacheBusting = null)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<CdnTagHelperOptions> setup

    The CdnTagHelperOptions which need to be configured.

    ICacheBusting cacheBusting

    An optional object implementing the ICacheBusting interface.

    Properties

    | Improve this Doc

    CacheBusting

    Gets the by constructor optional supplied object implementing the ICacheBusting interface.

    Declaration
    protected ICacheBusting CacheBusting { get; }
    Property Value
    Type Description
    ICacheBusting

    The by constructor optional supplied object implementing the ICacheBusting interface.

    | Improve this Doc

    Options

    Gets the configured options of this instance.

    Declaration
    public CdnTagHelperOptions Options { get; }
    Property Value
    Type Description
    CdnTagHelperOptions

    The configured options of this instance.

    | Improve this Doc

    UseCacheBusting

    Gets a value indicating whether an object implementing the ICacheBusting interface is specified.

    Declaration
    protected bool UseCacheBusting { get; }
    Property Value
    Type Description
    System.Boolean

    true if an object implementing the ICacheBusting interface is specified; otherwise, false.

    Methods

    | Improve this Doc

    GetBaseUrl()

    Gets the base URL of this instance.

    Declaration
    protected virtual string GetBaseUrl()
    Returns
    Type Description
    System.String

    The base URL of this instance.

    Implements

    Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
    Microsoft.AspNetCore.Razor.TagHelpers.ITagHelperComponent
    IConfigurable<TOptions>

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
    IConfigurable<TOptions>
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX