Ejemplo n.º 1
0
        internal void NotifyFileOperationCompletion(MobileServiceFile file, FileOperationKind fileOperationKind, FileOperationSource source)
        {
            var operationCompletedEvent = new FileOperationCompletedEvent(file, fileOperationKind, source);

            this.eventManager.PublishAsync(operationCompletedEvent).ContinueWith(t => t.Exception.Handle(e => true), TaskContinuationOptions.OnlyOnFaulted);
        }
Ejemplo n.º 2
0
 public FileOperationCompletedEvent(MobileServiceFile file, FileOperationKind operationKind, FileOperationSource source)
 {
     File   = file;
     Kind   = operationKind;
     Source = source;
 }
 public FileOperationCompletedEvent(MobileServiceFile file, FileOperationKind operationKind, FileOperationSource source)
 {
     File = file;
     Kind = operationKind;
     Source = source;
 }
        internal void NotifyFileOperationCompletion(MobileServiceFile file, FileOperationKind fileOperationKind, FileOperationSource source)
        {
            var operationCompletedEvent = new FileOperationCompletedEvent(file, fileOperationKind, source);

            this.eventManager.PublishAsync(operationCompletedEvent).ContinueWith(t => t.Exception.Handle(e => true), TaskContinuationOptions.OnlyOnFaulted);
        }