Changeset 17025
- Timestamp:
- 06/19/19 13:28:34 (5 years ago)
- Location:
- branches/2924_DotNetCoreMigration
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2924_DotNetCoreMigration/HeuristicLab.CommandLineInterface/Attributes/CommandAttribute.cs
r16985 r17025 1 1 using System; 2 using HeuristicLab.CommandLineInterface.Core; 2 3 3 4 namespace HeuristicLab.CommandLineInterface { … … 7 8 /// </summary> 8 9 [AttributeUsage(AttributeTargets.Class)] 9 public class CommandAttribute : Attribute {10 public class CommandAttribute : CLIBaseAttribute { 10 11 /// <summary> 11 12 /// To identify the command. This is the string, the user has to enter to activate this command. … … 17 18 /// </summary> 18 19 public Type[] SubCommands { get; set; } = new Type[0]; 19 /// <summary>20 /// Description for the command.21 /// </summary>22 public string Description { get; set; } = "";23 20 } 24 21 } -
branches/2924_DotNetCoreMigration/HeuristicLab.CommandLineInterface/Attributes/OptionAttribute.cs
r16985 r17025 1 1 using System; 2 using HeuristicLab.CommandLineInterface.Core; 2 3 3 4 namespace HeuristicLab.CommandLineInterface { … … 6 7 /// </summary> 7 8 [AttributeUsage(AttributeTargets.Property)] 8 public class OptionAttribute : Attribute {9 public class OptionAttribute : CLIBaseAttribute { 9 10 /// <summary> 10 11 /// An optional shortcut of the option. Takes the '-' prefix. For example: '-o'. 11 12 /// </summary> 12 13 public string Shortcut { get; set; } 13 /// <summary>14 /// The description of the option.15 /// </summary>16 public string Description { get; set; }17 14 /// <summary> 18 15 /// Set this to true to get a required option, which has always to be set from the user. -
branches/2924_DotNetCoreMigration/HeuristicLab.CommandLineInterface/Attributes/ValueAttribute.cs
r16985 r17025 1 1 using System; 2 using HeuristicLab.CommandLineInterface.Core; 2 3 3 4 namespace HeuristicLab.CommandLineInterface { … … 6 7 /// </summary> 7 8 [AttributeUsage(AttributeTargets.Property)] 8 public class ValueAttribute : Attribute {9 public class ValueAttribute : CLIBaseAttribute { 9 10 /// <summary> 10 /// Description of the value. 11 /// The index of the value order. For example: a value with index=1 has to be 12 /// specified before a value with index=2, else an exception will be thrown. 11 13 /// </summary> 12 public string Description { get; set; }13 14 14 public int Index { get; set; } 15 15 -
branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Isolation/RunnerHost.cs
r17013 r17025 78 78 RedirectStandardError = true, 79 79 CreateNoWindow = false, 80 UserName = string.IsNullOrEmpty(UserName) ? null : UserName, // TODO: accounts testen: https://docs.microsoft.com/en-us/windows/security/identity-protection/access-control/local-accounts#sec-localsystem80 UserName = string.IsNullOrEmpty(UserName) ? null : UserName, // to use Local accounts (LocalService, LocalSystem, ...) the process has to run already as Service 81 81 PasswordInClearText = string.IsNullOrEmpty(Password) ? null : Password, 82 82 Domain = string.IsNullOrEmpty(Domain) ? null : Domain,
Note: See TracChangeset
for help on using the changeset viewer.