Struct KdbRecord<TResult>
Defines structure for KeyDb APIs return - the stored value along with its attributes (expiration etc.)
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.Sky.dll
Syntax
public struct KdbRecord<TResult>
where TResult : class
Type Parameters
Constructors
KdbRecord(TResult, Int32, DateTime, Nullable<DateTime>)
Declaration
public KdbRecord(TResult value, int slidingExpirationDays, DateTime lastUseDate, DateTime? absoluteExpirationDateUTC)
Parameters
Type |
Name |
Description |
TResult |
value |
|
System.Int32 |
slidingExpirationDays |
|
System.DateTime |
lastUseDate |
|
System.Nullable<System.DateTime> |
absoluteExpirationDateUTC |
|
Fields
AbsoluteExpirationDateUTC
Declaration
public readonly DateTime? AbsoluteExpirationDateUTC
Field Value
Type |
Description |
System.Nullable<System.DateTime> |
|
LastUseDate
Declaration
public readonly DateTime LastUseDate
Field Value
Type |
Description |
System.DateTime |
|
SlidingExpirationDays
Declaration
public readonly int SlidingExpirationDays
Field Value
Type |
Description |
System.Int32 |
|
Unassigned
Declaration
public static readonly KdbRecord<TResult> Unassigned
Field Value
Value
Declaration
public readonly TResult Value
Field Value
Properties
IsAssigned
Declaration
public bool IsAssigned { get; }
Property Value
Type |
Description |
System.Boolean |
|
Extension Methods