C# Class Microsoft.WindowsAzure.MobileServices.CurrentPlatform

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

Private Properties

Свойство Type Description
IPlatform IApplicationStorage

Méthodes publiques

Méthode 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

Méthode Description
IPlatform ( string name ) : IApplicationStorage

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

Method Details

EnsureFileExists() public méthode

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

GetNamedApplicationStorage() public méthode

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
Résultat IApplicationStorage

Init() public static méthode

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
Résultat void