Craig's Utility Library  4.0 Beta
Utilities.DataTypes.Caching.Manager Class Reference

Caching manager class More...

Inheritance diagram for Utilities.DataTypes.Caching.Manager:
Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass

Public Member Functions

 Manager (IEnumerable< ICache > Caches)
 Constructor More...
 
ICache Cache (string Name="Default")
 Gets the specified cache More...
 
override string ToString ()
 Outputs the manager as a string More...
 
- Public Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
void Dispose ()
 Dispose function More...
 

Protected Member Functions

override void Dispose (bool Managed)
 Disposes of the object More...
 
- Protected Member Functions inherited from Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass
 SafeDisposableBaseClass ()
 Construct More...
 

Properties

IDictionary< string, ICacheCaches [get]
 Caches More...
 

Detailed Description

Caching manager class

Definition at line 36 of file Manager.cs.

Constructor & Destructor Documentation

Utilities.DataTypes.Caching.Manager.Manager ( IEnumerable< ICache Caches)

Constructor

Definition at line 41 of file Manager.cs.

Member Function Documentation

ICache Utilities.DataTypes.Caching.Manager.Cache ( string  Name = "Default")

Gets the specified cache

Parameters
NameName of the cache (defaults to Default)
Returns
Returns the ICache specified if it exists, otherwise creates a default cache and associates it with the name

Definition at line 72 of file Manager.cs.

override void Utilities.DataTypes.Caching.Manager.Dispose ( bool  Managed)
protectedvirtual

Disposes of the object

Parameters
ManagedDetermines if all objects should be disposed or just managed objects

Implements Utilities.DataTypes.Patterns.BaseClasses.SafeDisposableBaseClass.

Definition at line 94 of file Manager.cs.

override string Utilities.DataTypes.Caching.Manager.ToString ( )

Outputs the manager as a string

Returns
String version of the manager

Definition at line 83 of file Manager.cs.

Property Documentation

IDictionary<string, ICache> Utilities.DataTypes.Caching.Manager.Caches
getprotected

Caches

Definition at line 62 of file Manager.cs.


The documentation for this class was generated from the following file: