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