示例#1
0
 private void OnSyncReceived(string arg1, RepositorySyncEventArgs arg2)
 {
     SyncReceived?.Invoke(arg1, arg2);
 }
示例#2
0
 public void SyncItem(string identifire, RepositorySyncEventArgs args)
 {
     _connection.InvokeAsync(SyncActions.SyncItem, identifire, args);
 }
示例#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 });
 }