Class ClientCacheTypeCollection
Inheritance
System.Object
ClientCacheTypeCollection
Assembly: ImageVault.Client.dll
Syntax
public class ClientCacheTypeCollection : ConfigurationElementCollection
Constructors
ClientCacheTypeCollection()
Declaration
public ClientCacheTypeCollection()
Properties
Enabled
Controls if the cache should be enabled or not. Default is true
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Add(ClientCacheTypeElement)
Adds the supplied element to the collection
Declaration
public void Add(ClientCacheTypeElement clientCacheTypeElement)
Parameters
CreateNewElement()
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type |
Description |
System.Configuration.ConfigurationElement |
|
Get(ClientCacheTypes)
Declaration
public ClientCachePolicy Get(ClientCacheTypes type)
Parameters
Returns
GetElementKey(ConfigurationElement)
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type |
Name |
Description |
System.Configuration.ConfigurationElement |
element |
|
Returns
Type |
Description |
System.Object |
|
Extension Methods