Files
yavsc/SalesCatalog/Model/FormInput.cs
Paul Schneider 301dbdcb6d Added a "Type" property to form inputs.
Fixed the second "title" section found in web page heads.
2014-10-01 15:34:00 +02:00

21 lines
429 B
C#

using System;
namespace SalesCatalog.Model
{
public abstract class FormInput: FormElement
{
/// <summary>
/// Gets or sets the identifier, unique in its Form.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public string Id { get; set; }
private string name=null;
public abstract string Type { get; }
public string Name { get { return name == null ? Id : name; } set { name = value; } }
}
}