The AnnotationFactory is used to create annotations using a given class. This will classify the provided type as either a list, map, array, or a default object. Depending on the type provided a suitable annotation will be created. Annotations produced by this will have default attribute values.
 /// <summary>
 /// Constructor for the <c>MethodPartFactory</c> object. This
 /// is used to create method parts based on the method signature
 /// and the XML annotation is uses. The created part can be used to
 /// either set or get values depending on its type.
 /// </summary>
 public MethodPartFactory() {
    this.factory = new AnnotationFactory();
 }
Example #2
0
 /// <summary>
 /// Constructor for the <c>MethodPartFactory</c> object. This
 /// is used to create method parts based on the method signature
 /// and the XML annotation is uses. The created part can be used to
 /// either set or get values depending on its type.
 /// </summary>
 public MethodPartFactory()
 {
     this.factory = new AnnotationFactory();
 }