Class WebAppDataCacheStorageProvider

Saves data in web applications cache.

Inheritance
System.Object
WebAppDataCacheStorageProvider
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public sealed class WebAppDataCacheStorageProvider : DataCacheStorageProvider

Constructors

WebAppDataCacheStorageProvider()

Initializes a new instance of the WebAppDataCacheStorageProvider class.

Declaration
public WebAppDataCacheStorageProvider()

Methods

Add(String, IEnumerable<FileDescriptor>, String, String, Object)

Adds the specified value to cache.

Declaration
public override void Add(string category, IEnumerable<FileDescriptor> fileDescriptors, string userId, string key, object value)
Parameters
Type Name Description
System.String category

The category.

System.Collections.Generic.IEnumerable<FileDescriptor> fileDescriptors

The file descriptors.

System.String userId

The user id.

System.String key

The key.

System.Object value

The value.

Overrides

GetValue(String, String, String)

Gets the value.

Declaration
public override object GetValue(string category, string userId, string key)
Parameters
Type Name Description
System.String category

The category.

System.String userId

The user id.

System.String key

The key.

Returns
Type Description
System.Object
Overrides

Initialize(String, NameValueCollection)

Declaration
public override void Initialize(string name, NameValueCollection config)
Parameters
Type Name Description
System.String name
System.Collections.Specialized.NameValueCollection config
Overrides

Remove(String, String, String)

Removes the specified category.

Declaration
public override void Remove(string category, string userId, string key)
Parameters
Type Name Description
System.String category

The category.

System.String userId

The user id.

System.String key

The key.

Overrides

RemoveAll()

Removes all.

Declaration
public override void RemoveAll()
Overrides

RemoveByCategory(String)

Removes the specified category.

Declaration
public override void RemoveByCategory(string category)
Parameters
Type Name Description
System.String category

The category.

Overrides

RemoveByUser(String)

Removes the specified user id.

Declaration
public override void RemoveByUser(string userId)
Parameters
Type Name Description
System.String userId

The user id.

Overrides