Ejemplo n.º 1
0
 public override async Task Begin(object obj, SynchronousOptions opts = null)
 {
     if (LeftSynchronizer is BinarySynchronizer && LeftSynchronizer.WillBegin(obj, opts))
     {
         await LeftSynchronizer.Begin(obj, opts);
     }
     else
     {
         await RightSynchronizer.Begin(obj, opts);
     }
 }
Ejemplo n.º 2
0
 public override Task Begin(object obj, SynchronousOptions opts = null)
 {
     return(Task.WhenAll(LeftSynchronizer.Begin(obj, opts), RightSynchronizer.Begin(obj, opts)));
 }