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

Inheritance: IFileSyncContext, IDisposable
ファイルを表示 Open project: Azure/azure-mobile-apps-net-files-client Class Usage Examples

Public Methods

Method Description
AddFileAsync ( MobileServiceFile file ) : Task
DeleteFileAsync ( MobileServiceFile file ) : Task
Dispose ( ) : void
MobileServiceFileSyncContext ( IMobileServiceClient client, IFileMetadataStore metadataStore, IFileOperationQueue operationsQueue, IFileSyncTriggerFactory syncTriggerFactory, IFileSyncHandler syncHandler ) : System
PullFilesAsync ( string tableName, string itemId ) : Task
PushChangesAsync ( CancellationToken cancellationToken ) : Task
QueueOperationAsync ( IMobileServiceFileOperation operation ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
MobileServiceFileSyncContext ( IMobileServiceClient client, IFileMetadataStore metadataStore, IFileOperationQueue operationsQueue, IFileSyncTriggerFactory syncTriggerFactory, IFileSyncHandler syncHandler, IMobileServiceFilesClient filesClient ) : System
NotifyFileOperationCompletion ( MobileServiceFile file, FileOperationKind fileOperationKind, FileOperationSource source ) : void

Method Details

AddFileAsync() public method

public AddFileAsync ( MobileServiceFile file ) : Task
file MobileServiceFile
return Task

DeleteFileAsync() public method

public DeleteFileAsync ( MobileServiceFile file ) : Task
file MobileServiceFile
return Task

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

MobileServiceFileSyncContext() public method

public MobileServiceFileSyncContext ( IMobileServiceClient client, IFileMetadataStore metadataStore, IFileOperationQueue operationsQueue, IFileSyncTriggerFactory syncTriggerFactory, IFileSyncHandler syncHandler ) : System
client IMobileServiceClient
metadataStore IFileMetadataStore
operationsQueue IFileOperationQueue
syncTriggerFactory IFileSyncTriggerFactory
syncHandler IFileSyncHandler
return System

PullFilesAsync() public method

public PullFilesAsync ( string tableName, string itemId ) : Task
tableName string
itemId string
return Task

PushChangesAsync() public method

public PushChangesAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

QueueOperationAsync() public method

public QueueOperationAsync ( IMobileServiceFileOperation operation ) : Task
operation IMobileServiceFileOperation
return Task