Свойство | Тип | Описание | |
---|---|---|---|
Cache | System |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
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 |
Результат | object |
public Add ( string key, object value, System.DateTime expiration ) : object | ||
key | string | Item Key |
value | object | Item Value |
expiration | System.DateTime | Item Expiration |
Результат | object |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public GetValue ( string key ) : object | ||
key | string | Item Key |
Результат | object |
public Insert ( string key, object value ) : void | ||
key | string | Item Key |
value | object | Item Value |
Результат | void |
public Insert ( string key, object value, System.DateTime expiration ) : void | ||
key | string | Item Key |
value | object | Item Value |
expiration | System.DateTime | Item Expiration |
Результат | void |
public SetExpiration ( string key, System.DateTime expiration ) : void | ||
key | string | Item Key |
expiration | System.DateTime | Expiration Date |
Результат | void |