2013-09-25 19:03:05 +10:00
using System ;
using System.ComponentModel ;
2012-04-28 13:54:51 -01:00
using umbraco.cms.businesslogic.datatype ;
namespace umbraco.editorControls.MultipleTextstring
{
/// <summary>
/// The options for the Multiple Textstring data-type.
/// </summary>
2013-09-25 19:03:05 +10:00
[Obsolete("IDataType and all other references to the legacy property editors are no longer used this will be removed from the codebase in future versions")]
2012-04-28 13:54:51 -01:00
public class MultipleTextstringOptions : AbstractOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="MultipleTextstringOptions"/> class.
/// </summary>
public MultipleTextstringOptions ()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="MultipleTextstringOptions"/> class.
/// </summary>
/// <param name="loadDefaults">if set to <c>true</c> [load defaults].</param>
public MultipleTextstringOptions ( bool loadDefaults )
: base ( loadDefaults )
{
}
/// <summary>
/// Gets or sets the maximum.
/// </summary>
/// <value>The maximum.</value>
[DefaultValue(-1)]
public int Maximum { get ; set ; }
/// <summary>
/// Gets or sets the minimum.
/// </summary>
/// <value>The minimum.</value>
[DefaultValue(1)]
public int Minimum { get ; set ; }
}
}