C# Class SPIDVerificationAPI_WPF_Sample.IsolatedStorageHelper

A storage helper that's used to persist values to files to be used across pages
显示文件 Open project: Microsoft/ProjectOxford-ClientSDK Class Usage Examples

Public Methods

Method Description
getInstance ( ) : IsolatedStorageHelper

Creates an Instance of the storage helper

readValue ( string filename ) : string

Reads a value from a given file

writeValue ( string fileName, string value ) : void

Writes a value to a given file

Private Methods

Method Description
IsolatedStorageHelper ( ) : System.IO

Method Details

getInstance() public static method

Creates an Instance of the storage helper
public static getInstance ( ) : IsolatedStorageHelper
return IsolatedStorageHelper

readValue() public method

Reads a value from a given file
public readValue ( string filename ) : string
filename string The file to read the value from
return string

writeValue() public method

Writes a value to a given file
public writeValue ( string fileName, string value ) : void
fileName string The file to write the value to
value string The value to be written
return void