Class HttpLastModifiedHeaderOptions
Specifies options that is related to the HttpLastModifiedHeader.
Inheritance
System.Object
HttpLastModifiedHeaderOptions
Namespace: Cuemon.AspNetCore.Mvc.Filters.Cacheable
Assembly: Cuemon.AspNetCore.Mvc.dll
Syntax
public class HttpLastModifiedHeaderOptions
Constructors
| Improve this DocHttpLastModifiedHeaderOptions()
Initializes a new instance of the HttpLastModifiedHeaderOptions class.
Declaration
public HttpLastModifiedHeaderOptions()
Remarks
The following table shows the initial property values for an instance of HttpEntityTagHeaderOptions.
Property | Initial Value |
---|---|
LastModifiedProvider |
|
Properties
| Improve this DocHasLastModifiedProvider
Gets a value indicating whether this instance has an LastModifiedProvider.
Declaration
public bool HasLastModifiedProvider { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
LastModifiedProvider
Gets or sets the delegate that is invoked when a result of a Microsoft.AspNetCore.Mvc.Filters.ResultExecutingContext is an Microsoft.AspNetCore.Mvc.ObjectResult and the value is an ICacheableTimestamp implementation.
Declaration
public Action<ICacheableTimestamp, HttpContext> LastModifiedProvider { get; set; }
Property Value
Type | Description |
---|---|
System.Action<ICacheableTimestamp, Microsoft.AspNetCore.Http.HttpContext> | The delegate that provides an HTTP Last-Modified header. |