Exemplo n.º 1
0
 /// <summary>
 /// Sets the subassigner for the given type
 /// </summary>
 /// <typeparam name="SubassignerType">Type of the property for which the subassigner will be used.</typeparam>
 /// <param name="assigner">The property assigner.</param>
 public void SetSubassigner <SubassignerType>(PropertyTableAssigner <SubassignerType> assigner)
 {
     m_InternalAssigner.SetSubassignerForType(typeof(SubassignerType), assigner);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PropertyTableAssigner{T}"/> class.
 /// </summary>
 /// <param name="expectedMissingProperties">The expected missing properties, that is expected fields in the table with no corresponding property in the object.</param>
 public PropertyTableAssigner(params string[] expectedMissingProperties)
 {
     m_InternalAssigner = new PropertyTableAssigner(typeof(T), expectedMissingProperties);
 }