Class HttpLastModifiedHeaderOptions
- Assembly
- Cuemon.AspNetCore.Mvc.dll
Specifies options that is related to the HttpLastModifiedHeaderFilter.
public class HttpLastModifiedHeaderOptions : IParameterObject
- Inheritance
-
HttpLastModifiedHeaderOptions
- Implements
Constructors
HttpLastModifiedHeaderOptions()
Initializes a new instance of the HttpLastModifiedHeaderOptions class.
public HttpLastModifiedHeaderOptions()
Remarks
The following table shows the initial property values for an instance of HttpEntityTagHeaderOptions.
Property | Initial Value |
---|---|
LastModifiedProvider |
|
Properties
HasLastModifiedProvider
Gets a value indicating whether this instance has an LastModifiedProvider.
public bool HasLastModifiedProvider { get; }
Property Value
- Boolean
true
if this instance has an LastModifiedProvider; otherwise,false
.
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 IEntityDataTimestamp implementation.
public Action<IEntityDataTimestamp, HttpContext> LastModifiedProvider { get; set; }
Property Value
- Action<IEntityDataTimestamp, HttpContext>
The delegate that provides an HTTP Last-Modified header.