Cache Class

Basic cache support that is compatible with local storage.

Inheritance Hierarchy

System Object

  Scribe.Core.ConnectorApi.Common Cache

Namespace:  Scribe.Core.ConnectorApi.Common

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

[DataContractAttribute]
public   class   Cache

The Cache type exposes the following members.

Constructors

 

Name

Description

Public method

Cache

Initializes a new instance of the Cache class

Methods

 

Name

Properties

Public method

Add

Adds objects to the cache.

Public method

Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

GetHashCode

Serves as a hash function for a particular type.

(Inherited from Object.)

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

Remove

Removes an object from the cache.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

Properties

 

Name

Description

Public property

Description

Description of cache

Public property

Id

The unique identifier

Public property

Item

Retrieves an object from the cache.

Public property

ItemTypes

The type of the cache item objects. Used for local storage serialization/deserialization to local storage

Public property

Name

The name of cache

Public property

Version

The version of cache

See

Scribe.Core.ConnectorApi.Common Namespace