Ejemplo n.º 1
0
 /// <summary>
 /// Add a property with a list of attributes
 /// </summary>
 /// <param name="name">The name of the property</param>
 /// <param name="propertyType">The type of the property</param>
 /// <param name="attributes">Property attributes</param>
 public static void AddProperty(String name, Type propertyType, List <Attribute> attributes)
 {
     CustomTypeHelper <CustomType> .AddProperty(name, propertyType, attributes);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a property with a specific type
 /// </summary>
 /// <param name="name">The name of the property</param>
 /// <param name="propertyType">The type of the property</param>
 public static void AddProperty(String name, Type propertyType)
 {
     CustomTypeHelper <CustomType> .AddProperty(name, propertyType);
 }