FileStatePersistenceService Members

Implements simple file based IStatePersistenceService that stores the state in binary files using the BinaryFormatter serializer.

The following tables list the members exposed by the FileStatePersistenceService type.

Public Constructors

  Name Description
Public method FileStatePersistenceService Overloaded.  

Top

Public Properties

  Name Description
Public property BasePath Specifies the root folder for the persisted state.
Public property CryptographyService  The ICryptographyService used to protect sensitive data. (Inherited from StreamStatePersistenceService.)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Configure  Configures the StreamStatePersistenceService using the settings provided by the provided settings collection. (Inherited from StreamStatePersistenceService.)
Public method Contains Overridden. Determines whether the file associated with the given state id exists.
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Load  Retrieves the saved State from the persistence storage. (Inherited from StreamStatePersistenceService.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method Remove  Removes the State from the persistence storage. (Inherited from StreamStatePersistenceService.)
Public method RemoveStream Overridden. Removes the file associated with the given state id.
Public method Save  Saves the State to the persistence storage. (Inherited from StreamStatePersistenceService.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method GetStream Overloaded. Overridden.  
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

FileStatePersistenceService Class
Microsoft.Practices.CompositeUI.Services Namespace