Table of Contents

ITimeBasedObjectResultOptions<T> Interface

Definition

Namespace
Cuemon.AspNetCore.Mvc
Assemblies
Cuemon.AspNetCore.Mvc.dll
Source
src/Cuemon.AspNetCore.Mvc/ITimeBasedObjectResultOptions.cs

Defines options that is related to ICacheableObjectResult operations.

public interface ITimeBasedObjectResultOptions<T>

Type Parameters

T

The type of the object to make cacheable.

Properties

Name Description
ChangedTimestampProvider

Gets or sets the function delegate that resolves a timestamp from when the specified T was last modified, expressed as the Coordinated Universal Time (UTC).

TimestampProvider

Gets or sets the function delegate that resolves a timestamp from when the specified T was first created, expressed as the Coordinated Universal Time (UTC).