Property | Type | Description | |
---|---|---|---|
Cache | System |
Method | Description | |
---|---|---|
Add ( string key, object value ) : object |
Adds an Item to the Cache identified by a specified Key
|
|
Add ( string key, object value, System.DateTime expiration ) : object |
Adds an Item to the Cache identified by a specified Key with a given Expiration
|
|
Clear ( ) : void |
Clear all Cache Values
|
|
Dispose ( ) : void |
Disposes the Object
|
|
GetValue ( string key ) : object |
Gets the Value of an Item with the specified Key
|
|
Insert ( string key, object value ) : void |
Inserts an Item to the Cache identified by a specified Key
|
|
Insert ( string key, object value, System.DateTime expiration ) : void |
Inserts an Item to the Cache identified by a specified Key with a given Expiration
|
|
Remove ( string key ) : void |
Removes an Item from the Cache identified by the specified Key
|
|
SetExpiration ( string key, System.DateTime expiration ) : void |
Sets a Cache Item specified by a Key with an Expiration Date
|
|
this ( string key ) : object |
Get or Sets the Cache Item Value based on an Item Key
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
Cache ( string cacheName ) : System |
Internal Constructor to restrict creation of instance outside of assembly
|
public Add ( string key, object value ) : object | ||
key | string | Item Key |
value | object | Item Value |
return | object |
public Add ( string key, object value, System.DateTime expiration ) : object | ||
key | string | Item Key |
value | object | Item Value |
expiration | System.DateTime | Item Expiration |
return | object |
public Insert ( string key, object value ) : void | ||
key | string | Item Key |
value | object | Item Value |
return | void |
public Insert ( string key, object value, System.DateTime expiration ) : void | ||
key | string | Item Key |
value | object | Item Value |
expiration | System.DateTime | Item Expiration |
return | void |
public SetExpiration ( string key, System.DateTime expiration ) : void | ||
key | string | Item Key |
expiration | System.DateTime | Expiration Date |
return | void |