C# Class Microsoft.WindowsAzure.MobileServices.CurrentPlatform

Provides access to platform specific functionality for the current client platform.
Inheritance: IPlatform
Datei anzeigen Open project: Azure/azure-mobile-apps-net-client Class Usage Examples

Private Properties

Property Type Description
IPlatform IApplicationStorage

Public Methods

Method Description
EnsureFileExists ( string path ) : void

Ensures that a file exists, creating it if necessary

GetNamedApplicationStorage ( string name ) : IApplicationStorage

Retrieves an ApplicationStorage where all items stored are segmented from other stored items

Init ( ) : void

You must call this method from your application in order to ensure that this platform specific assembly is included in your app.

Private Methods

Method Description
IPlatform ( string name ) : IApplicationStorage

Retrieves an ApplicationStorage where all items stored are segmented from other stored items

Method Details

EnsureFileExists() public method

Ensures that a file exists, creating it if necessary
public EnsureFileExists ( string path ) : void
path string The fully-qualified pathname to check
return void

GetNamedApplicationStorage() public method

Retrieves an ApplicationStorage where all items stored are segmented from other stored items
public GetNamedApplicationStorage ( string name ) : IApplicationStorage
name string The name of the segemented area in application storage
return IApplicationStorage

Init() public static method

You must call this method from your application in order to ensure that this platform specific assembly is included in your app.
public static Init ( ) : void
return void