Exemplo n.º 1
0
 public static SshKeyState ReduceDeleteSshKeyFailureAction(SshKeyState state, DeleteSshKeyFailureAction action) =>
 new SshKeyState(state.SshKeys, false, action.ErrorMessage);
Exemplo n.º 2
0
 private void SshKeyState_StateChanged(object sender, SshKeyState e)
 {
     StateHasChanged();
 }
Exemplo n.º 3
0
 public static SshKeyState ReduceDeleteSshKeySuccessAction(SshKeyState state, DeleteSshKeySuccessAction action) =>
 new SshKeyState(state.SshKeys, false, null);
Exemplo n.º 4
0
 public static SshKeyState ReduceDeleteSshKeyAction(SshKeyState state, DeleteSshKeyAction _) =>
 new SshKeyState(state.SshKeys, true, null);
Exemplo n.º 5
0
 public static SshKeyState ReduceCreateSshKeyFailureAction(SshKeyState state, CreateSshKeyFailureAction action) =>
 new SshKeyState(null, false, action.ErrorMessage);
Exemplo n.º 6
0
 public static SshKeyState ReduceFetchSshKeySuccessAction(SshKeyState state, FetchSshKeySuccessAction action) =>
 new SshKeyState(action.Keys.ToArray(), false, null);
Exemplo n.º 7
0
 public static SshKeyState ReduceFetchSshKeyAction(SshKeyState state, FetchSshKeyAction _) =>
 new SshKeyState(null, true, null);