Ejemplo n.º 1
0
 private void OnSyncReceived(string arg1, RepositorySyncEventArgs arg2)
 {
     SyncReceived?.Invoke(arg1, arg2);
 }
Ejemplo n.º 2
0
 public void SyncItem(string identifire, RepositorySyncEventArgs args)
 {
     _connection.InvokeAsync(SyncActions.SyncItem, identifire, args);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Send a sync request to the hub clients.
 /// </summary>
 public virtual async Task SyncItem(string identifire, RepositorySyncEventArgs args)
 {
     await GetOthers().SendCoreAsync(SyncActions.SyncReceived, new object[] { identifire, args });
 }