Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.CommandLineInterface/Attributes/ValueAttribute.cs @ 16985

Last change on this file since 16985 was 16985, checked in by dpiringe, 5 years ago

#2924:

  • added CLI Framework HeuristicLab.CommandLineInterface
  • added definition language test project HeuristicLab.DefinitionLanguage
  • added test project HeuristicLab.DynamicAssemblyTestApp, for PluginInfrastructure testing
  • changed project HeuristicLab to .NET Core and used it to create a CLI-Tool with the new CLI Framework
  • added Docker support to HeuristicLab
  • added IRunnerHost.cs ... forgot last commit
  • changed DockerRunnerHost and NativeRunnerHost to HeuristicLab-3.3.exe, was a little test project before
  • added new solution file HeuristicLab 3.3 No Views.sln, where all view projects are unloaded at start
File size: 504 bytes
Line 
1using System;
2
3namespace HeuristicLab.CommandLineInterface {
4  /// <summary>
5  /// The value attribute specifies a property as value for a command.
6  /// </summary>
7  [AttributeUsage(AttributeTargets.Property)]
8  public class ValueAttribute : Attribute {
9    /// <summary>
10    /// Description of the value.
11    /// </summary>
12    public string Description { get; set; }
13
14    public int Index { get; set; }
15
16    public ValueAttribute(int index) {
17      Index = index;
18    }
19
20  }
21}
Note: See TracBrowser for help on using the repository browser.