HttpLastModifiedHeaderOptions Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Mvc.Filters.Cacheable
- Assemblies
- Cuemon.AspNetCore.Mvc.dll
HttpLastModifiedHeaderOptions()
Initializes a new instance of the HttpLastModifiedHeaderOptions class.
public HttpLastModifiedHeaderOptions()
Remarks
The following table shows the initial property values for an instance of <xref href="Cuemon.AspNetCore.Mvc.Filters.Cacheable.HttpEntityTagHeaderOptions" data-throw-if-not-resolved="false"></xref>.
<table><thead><tr><th class="term">Property</th><th class="description">Initial Value</th></tr></thead><tbody><tr><td class="term"><xref href="Cuemon.AspNetCore.Mvc.Filters.Cacheable.HttpLastModifiedHeaderOptions.LastModifiedProvider" data-throw-if-not-resolved="false"></xref></td><td class="description"><pre><code class="lang-csharp">(timestamp, context) =>
{ Decorator.Enclose(context.Response).TryAddOrUpdateLastModifiedHeader(context.Request, timestamp.Modified ?? timestamp.Created); };