using System; namespace HeuristicLab.CommandLineInterface { /// /// Attribute to specify a class as application. The class still needs to implement the ICommand interface. /// [AttributeUsage(AttributeTargets.Class)] public class ApplicationAttribute : CommandAttribute { /// /// The version of the application. /// public string Version { get; set; } /// /// Constructor for the ApplicationAttribute.The parameter specifies the name of the application. /// /// Name of the application. /// Version of the application. public ApplicationAttribute(string identifier, string version) { Identifier = identifier; Version = version; } } }