PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
PreEmptive.Analytics.Common.ISettingsStore Interface Reference

An interface describing a mechanism for persisting string values tied to string keys. More...

Public Member Functions

void Flush ()
 Saves the ISettingsStore data. More...
 

Properties

string this[string key] [get, set]
 Gets or sets a key/value to persist. If the result is null, the key didn't exist If set to a value of null, the key is removed from the persistance store Exceptions should not normally be thrown More...
 
int Count [get]
 Gets the amount of key value pairs in the store More...
 
IList< string > Keys [get]
 Gets a copy of the keys list. Any changes made to the returned list are not persisted(it's a copy!) More...
 
int MaxValueLength [get]
 The maximum permitted length of the value. More...
 
int MaxKeyLength [get]
 The maximum permitted length of the key. More...
 

Detailed Description

An interface describing a mechanism for persisting string values tied to string keys.

Member Function Documentation

void PreEmptive.Analytics.Common.ISettingsStore.Flush ( )

Saves the ISettingsStore data.

Property Documentation

int PreEmptive.Analytics.Common.ISettingsStore.Count
get

Gets the amount of key value pairs in the store

IList<string> PreEmptive.Analytics.Common.ISettingsStore.Keys
get

Gets a copy of the keys list. Any changes made to the returned list are not persisted(it's a copy!)

int PreEmptive.Analytics.Common.ISettingsStore.MaxKeyLength
get

The maximum permitted length of the key.

int PreEmptive.Analytics.Common.ISettingsStore.MaxValueLength
get

The maximum permitted length of the value.

string PreEmptive.Analytics.Common.ISettingsStore.this[string key]
getset

Gets or sets a key/value to persist. If the result is null, the key didn't exist If set to a value of null, the key is removed from the persistance store Exceptions should not normally be thrown

Parameters
keyThe key.
Returns
The value

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