using CaeGlobals; using System; using System.ComponentModel; namespace CaeJob { [Serializable] public class EnvironmentVariable { // Properties [Category("Data")] [OrderedDisplayName(0, 10, "Active")] [Description("The state of the environment variable.")] public bool Active { get; set; } [Category("Data")] [OrderedDisplayName(1, 10, "Name")] [Description("The name of the environment variable.")] public string Name { get; set; } [Category("Data")] [OrderedDisplayName(2, 10, "Value")] [Description("The value of the environment variable.")] public string Value { get; set; } // Constructors public EnvironmentVariable() { //Active = true; } public EnvironmentVariable(string name, string value) : this() { Active = true; Name = name; Value = value; } public override string ToString() { return Name + "=" + Value; } } }