C# Class Microsoft.WindowsAzure.MobileServices.Files.MobileServiceClientExtensions

Show file Open project: Azure/azure-mobile-apps-net-files-client

Public Methods

Method Description
GetFileSyncContext ( this client ) : IFileSyncContext

Returns the current IFileSyncContext configured for the client. InitializeFileSyncContext must be called first.

InitializeFileSyncContext ( this client, IFileSyncContext context ) : IFileSyncContext

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.

InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler ) : IFileSyncContext

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.

InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler, IMobileServiceLocalStore store ) : IFileSyncContext

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.

InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler, IMobileServiceLocalStore store, IFileSyncTriggerFactory fileSyncTriggerFactory ) : IFileSyncContext

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.

Method Details

GetFileSyncContext() public static method

Returns the current IFileSyncContext configured for the client. InitializeFileSyncContext must be called first.
public static GetFileSyncContext ( this client ) : IFileSyncContext
client this IMobileServiceClient instance
return IFileSyncContext

InitializeFileSyncContext() public static method

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.
public static InitializeFileSyncContext ( this client, IFileSyncContext context ) : IFileSyncContext
client this IMobileServiceClient instance
context IFileSyncContext
return IFileSyncContext

InitializeFileSyncContext() public static method

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.
public static InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler ) : IFileSyncContext
client this IMobileServiceClient instance
syncHandler IFileSyncHandler An instance of that specifies how to handle changes to stored files
return IFileSyncContext

InitializeFileSyncContext() public static method

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.
public static InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler, IMobileServiceLocalStore store ) : IFileSyncContext
client this IMobileServiceClient instance
syncHandler IFileSyncHandler An instance of that specifies how to handle changes to stored files
store IMobileServiceLocalStore The for storing file metadata locally
return IFileSyncContext

InitializeFileSyncContext() public static method

Initializes the file synchronization capabilities of the IMobileServiceClient. Offline sync must also be initialized by calling IMobileServiceClient.SyncContext.InitializeAsync.
public static InitializeFileSyncContext ( this client, IFileSyncHandler syncHandler, IMobileServiceLocalStore store, IFileSyncTriggerFactory fileSyncTriggerFactory ) : IFileSyncContext
client this IMobileServiceClient instance
syncHandler IFileSyncHandler An instance of that specifies how to handle changes to stored files
store IMobileServiceLocalStore The for storing file metadata locally
fileSyncTriggerFactory IFileSyncTriggerFactory An instance of that generates objects for triggering synchronisation of file metadata and content
return IFileSyncContext