Add enum and docu refactor_dialogs
authorThomas
Thu, 22 Aug 2019 09:41:47 +0200
branchrefactor_dialogs
changeset 2710c88cebe389d7
parent 2709 e4a03c070079
child 2711 89ea77c3b521
Add enum and docu
UI/Dialog.cs
UI/RelayCommand.cs
     1.1 --- a/UI/Dialog.cs	Wed Aug 21 08:49:32 2019 +0200
     1.2 +++ b/UI/Dialog.cs	Thu Aug 22 09:41:47 2019 +0200
     1.3 @@ -11,7 +11,8 @@
     1.4              Handshake,
     1.5              KeySync,
     1.6              KeyImportPEP,
     1.7 -            KeyImportPGP
     1.8 +            KeyImportPGP,
     1.9 +            ForceProtection
    1.10          }
    1.11  
    1.12          public static async Task<bool?> Show(Type type, PEPIdentity myself, PEPIdentity partner)
     2.1 --- a/UI/RelayCommand.cs	Wed Aug 21 08:49:32 2019 +0200
     2.2 +++ b/UI/RelayCommand.cs	Thu Aug 22 09:41:47 2019 +0200
     2.3 @@ -11,6 +11,7 @@
     2.4          /// <summary>
     2.5          /// Primary constructor.
     2.6          /// </summary>
     2.7 +        /// <param name="execute">The action to execute.</param>
     2.8          public RelayCommand(Action<T> execute) : this(execute, null)
     2.9          {
    2.10          }
    2.11 @@ -18,8 +19,8 @@
    2.12          /// <summary>
    2.13          /// Secondary constructor.
    2.14          /// </summary>
    2.15 -        /// <param name="execute"></param>
    2.16 -        /// <param name="canExecute"></param>
    2.17 +        /// <param name="execute">The action to execute.</param>
    2.18 +        /// <param name="canExecute">If the command can be executed.</param>
    2.19          public RelayCommand(Action<T> execute, Predicate<T> canExecute)
    2.20          {
    2.21              this._Execute = execute;
    2.22 @@ -63,6 +64,7 @@
    2.23          /// <summary>
    2.24          /// Primary constructor.
    2.25          /// </summary>
    2.26 +        /// <param name="execute">The action to execute.</param>
    2.27          public RelayCommand(Action<object> execute) : this(execute, null)
    2.28          {
    2.29          }
    2.30 @@ -70,8 +72,8 @@
    2.31          /// <summary>
    2.32          /// Secondary constructor.
    2.33          /// </summary>
    2.34 -        /// <param name="execute"></param>
    2.35 -        /// <param name="canExecute"></param>
    2.36 +        /// <param name="execute">The action to execute.</param>
    2.37 +        /// <param name="canExecute">If the command can be executed.</param>
    2.38          public RelayCommand(Action<object> execute, Predicate<object> canExecute)
    2.39          {
    2.40              this._Execute = execute;