SaaS CMS has officially launched! Learn more now.

Class DataContextCacheItem

Represents Data Context Cache Item.

Inheritance
System.Object
DataContextCacheItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class DataContextCacheItem

Constructors

DataContextCacheItem()

Initializes a new instance of the DataContextCacheItem class.

Declaration
public DataContextCacheItem()

DataContextCacheItem(Object)

Initializes a new instance of the DataContextCacheItem class.

Declaration
public DataContextCacheItem(object value)
Parameters
Type Name Description
System.Object value

The value.

DataContextCacheItem(Object, DateTime)

Initializes a new instance of the DataContextCacheItem class.

Declaration
public DataContextCacheItem(object value, DateTime absoluteExpiration)
Parameters
Type Name Description
System.Object value

The value.

System.DateTime absoluteExpiration

The absolute expiration.

Properties

AbsoluteExpiration

Gets or sets the absolute expiration.

Declaration
public DateTime AbsoluteExpiration { get; set; }
Property Value
Type Description
System.DateTime

The absolute expiration.

Created

Gets the created.

Declaration
public DateTime Created { get; }
Property Value
Type Description
System.DateTime

The created.

IsExpired

Gets a value indicating whether this instance is expired.

Declaration
public bool IsExpired { get; }
Property Value
Type Description
System.Boolean

true if this instance is expired; otherwise, false.

Object

Gets or sets the object.

Declaration
public object Object { get; set; }
Property Value
Type Description
System.Object

The object.