Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.CommandLineInterface/Attributes/ApplicationAttribute.cs @ 17039

Last change on this file since 17039 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: 889 bytes
Line 
1using System;
2
3namespace HeuristicLab.CommandLineInterface {
4
5  /// <summary>
6  /// Attribute to specify a class as application. The class still needs to implement the ICommand interface.
7  /// </summary>
8  [AttributeUsage(AttributeTargets.Class)]
9  public class ApplicationAttribute : CommandAttribute {
10    /// <summary>
11    /// The version of the application.
12    /// </summary>
13    public string Version { get; set; }
14
15    /// <summary>
16    /// Constructor for the ApplicationAttribute.The parameter <paramref name="identifier"/> specifies the name of the application.
17    /// </summary>
18    /// <param name="identifier">Name of the application.</param>
19    /// <param name="version">Version of the application.</param>
20    public ApplicationAttribute(string identifier, string version) {
21      Identifier = identifier;
22      Version = version;
23    }
24  }
25}
Note: See TracBrowser for help on using the repository browser.