Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DayOfWeekFieldAttribute"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="required">if set to <c>true</c> [required].</param>
 /// <param name="defaultValue">The default value.</param>
 /// <param name="category">The category.</param>
 /// <param name="order">The order.</param>
 /// <param name="key">The key.</param>
 public GenderFieldAttribute(string name = "Gender", string description = "", bool required = true, Gender defaultValue = Gender.Unknown, string category = "", int order = 0, string key = null)
     : base(name, description, required, defaultValue.ConvertToInt().ToString(), category, order, key, typeof(Field.Types.GenderFieldType).FullName)
 {
 }