Show / Hide Table of Contents

    Class HttpLastModifiedHeader

    A filter that applies a HTTP Last-Modified header.

    Inheritance
    System.Object
    HttpLastModifiedHeader
    Implements
    IConfigurable<HttpLastModifiedHeaderOptions>
    ICacheableAsyncResultFilter
    Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public class HttpLastModifiedHeader : IConfigurable<HttpLastModifiedHeaderOptions>, ICacheableAsyncResultFilter

    Constructors

    | Improve this Doc

    HttpLastModifiedHeader(Action<HttpLastModifiedHeaderOptions>)

    Initializes a new instance of the HttpLastModifiedHeader class.

    Declaration
    public HttpLastModifiedHeader(Action<HttpLastModifiedHeaderOptions> setup)
    Parameters
    Type Name Description
    System.Action<HttpLastModifiedHeaderOptions> setup

    The HttpLastModifiedHeaderOptions which need to be configured.

    Properties

    | Improve this Doc

    Options

    Gets the configured options of this instance.

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

    The configured options of this instance.

    Methods

    | Improve this Doc

    OnResultExecutionAsync(ResultExecutingContext, ResultExecutionDelegate)

    Called asynchronously before the action result.

    Declaration
    public Task OnResultExecutionAsync(ResultExecutingContext context, ResultExecutionDelegate next)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext context

    The Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext.

    Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate next

    The Microsoft.AspNetCore.Mvc.Filters.ResultExecutionDelegate. Invoked to execute the next result filter or the result itself.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task that on completion indicates the filter has executed.

    Implements

    IConfigurable<TOptions>
    ICacheableAsyncResultFilter

    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.Mvc.Filters.IAsyncResultFilter
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX