/// <summary> /// Valued constructor /// </summary> /// <param name="management">Management type</param> /// <param name="value">The value itself</param> /// <param name="minValue">Min number it can have</param> /// <param name="maxValue">Max number it can have</param> public Number(EManagement management, Double value, Double?minValue = null, Double?maxValue = null) : base(management, value) { MinValue = minValue; MaxValue = maxValue; }
/// <summary> /// Basic constructor. It sets value and initial value /// </summary> /// <param name="value">The value itself</param> public AbstractInfo(EManagement management, object value) : this() { Management = management; InitialValue = value; Value = InitialValue; }