Exemple #1
0
 public static XmlCustomPropertyValidValue CreateAsValue(int lookupListItemId)
 {
     return(new XmlCustomPropertyValidValue()
     {
         LookupListItemId = XmlModelConvert.FromInt32(lookupListItemId),
         Selected = XmlModelConvert.FromBoolean(true)
     });
 }
 public static XmlCustomProperty CreateAsValue(int propertyTypeId, int primitiveType)
 {
     return(new XmlCustomProperty()
     {
         PropertyTypeId = XmlModelConvert.FromInt32(propertyTypeId),
         PrimitiveType = XmlModelConvert.FromInt32(primitiveType)
     });
 }