Interface ITimeBasedObjectResultOptions<T>
- Namespace
- Cuemon.AspNetCore.Mvc
- Assembly
- Cuemon.AspNetCore.Mvc.dll
Defines options that is related to ICacheableObjectResult operations.
public interface ITimeBasedObjectResultOptions<T>
Type Parameters
T
The type of the object to make cacheable.
Properties
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).
Func<T, DateTime> ChangedTimestampProvider { get; set; }
Property Value
- Func<T, DateTime>
The function delegate that resolves a timestamp from when the specified
T
was last modified.
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).
Func<T, DateTime> TimestampProvider { get; set; }