Overhauled Flight Engineer
[VesselSimulator.git] / KerbalEngineer / Settings / Setting.cs





































1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Name:    Kerbal Engineer Redux
// Author:  CYBUTEK
// License: Attribution-NonCommercial-ShareAlike 3.0 Unported
 
using System;
 
namespace KerbalEngineer.Settings
{
    [Serializable]
    public class Setting
    {
        #region Properties
 
        /// <summary>
        /// Gets and sets the name of the setting.
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// Gets and sets the setting's value object.
        /// </summary>
        public object Value { get; set; }
 
        #endregion
 
        #region Initialisation
 
        public Setting(string name, object value)
        {
            this.Name = name;
            this.Value = value;
        }
 
        #endregion
    }
}