uComponents: Added MultipleTextstring to the core

This commit is contained in:
leekelleher
2012-04-28 13:54:51 -01:00
parent c2d45adcb9
commit a0d9e668bd
4 changed files with 481 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
using System.ComponentModel;
using umbraco.cms.businesslogic.datatype;
namespace umbraco.editorControls.MultipleTextstring
{
/// <summary>
/// The options for the Multiple Textstring data-type.
/// </summary>
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; }
}
}