Skip to content

Insert Method ​

Definition ​

  • Namespace: JASE.Interfaces
  • Assembly: JASE.Caching.dll

Overloads ​

NameDescription
void Insert(string key, object item, long size = null)Inserts item into the Cache using default expirations
void Insert(string key, object item, string filename, long size = null)Insert item into the Cache using a file dependency
void Insert(string key, object item, TimeSpan expiration, bool sliding = null, long size = null)Inserts item into Cache with time based expiration

void Insert(string key, object item, long size = null) ​

csharp
void Insert(string key, object item, long size = null)

Inserts item into the Cache using default expirations

void Insert(string key, object item, string filename, long size = null) ​

csharp
void Insert(string key, object item, string filename, long size = null)

Insert item into the Cache using a file dependency

void Insert(string key, object item, TimeSpan expiration, bool sliding = null, long size = null) ​

csharp
void Insert(string key, object item, TimeSpan expiration, bool sliding = null, long size = null)

Inserts item into Cache with time based expiration