コード例 #1
0
        public async Task <HttpResponseMessage> ToDestination(string destination, bool forceSyncingAll)
        {
            var result = await SynchronizationTask.SynchronizeDestinationAsync(destination + "/fs/" + this.FileSystemName, forceSyncingAll);

            return(this.GetMessageWithObject(result, HttpStatusCode.OK));
        }
コード例 #2
0
        public async Task <HttpResponseMessage> ToDestination(string destination, bool forceSyncingAll)
        {
            var result = await SynchronizationTask.SynchronizeDestinationAsync(destination + "/fs/" + FileSystemName, forceSyncingAll).ConfigureAwait(false);

            return(GetMessageWithObject(result));
        }