![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
The abstract class responsible for persisting details to Isolated Storage. More...
Public Member Functions | |
bool | PreferenceFileExists () |
Determines whether the preferences file already exists. More... | |
void | Load () |
Responsible for loading details from Isolated Storage. More... | |
void | Save () |
Responsible for persisting details to Isolated Storage. More... | |
Static Public Member Functions | |
static void | ClearAll (string prefix) |
Clears all isolated storage information for the given application; relies on each file containing a certain prefix, i.e. 'ExternalClient'. More... | |
Protected Member Functions | |
BaseDetailsLoader (string fileName) | |
Constructor. More... | |
virtual void | CreateInitialDetails (IFormatter formatter, Stream stream) |
Override this method to create some initial details so they can be persisted to Isolated Storage. More... | |
virtual void | DeserializeDetails (IFormatter formatter, Stream stream) |
Override this method to deserialize the details from Isolated Storage. More... | |
virtual void | SerializeDetails (IFormatter formatter, Stream stream) |
Override this method to serialize the details to Isolated Storage. More... | |
Properties | |
string | Filename [get, set] |
Get/set the name of the file to use in Isolated Storage. More... | |
The abstract class responsible for persisting details to Isolated Storage.
|
protected |
Constructor.
fileName |
|
static |
Clears all isolated storage information for the given application; relies on each file containing a certain prefix, i.e. 'ExternalClient'.
|
protectedvirtual |
Override this method to create some initial details so they can be persisted to Isolated Storage.
formatter | |
stream |
Reimplemented in PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.
|
protectedvirtual |
Override this method to deserialize the details from Isolated Storage.
formatter | |
stream |
Reimplemented in PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.
void PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.Load | ( | ) |
Responsible for loading details from Isolated Storage.
bool PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.PreferenceFileExists | ( | ) |
Determines whether the preferences file already exists.
void PushTechnology.DiffusionCore.Persistence.BaseDetailsLoader.Save | ( | ) |
Responsible for persisting details to Isolated Storage.
|
protectedvirtual |
Override this method to serialize the details to Isolated Storage.
formatter | |
stream |
Reimplemented in PushTechnology.DiffusionCore.Connection.ServerDetailsLoader.
|
getsetprotected |
Get/set the name of the file to use in Isolated Storage.