Interface IDocumentClassFactory
Factory to generate dynamic classes from a document schema
public interface IDocumentClassFactory
- Extension Methods
Methods
CreateBodyType(DocumentSchema)
Create the body type class for documentSchema
.
Type CreateBodyType(DocumentSchema documentSchema)
Parameters
documentSchema
DocumentSchemaDocument Schema
Returns
Remarks
Replaces any already cached type class.
GetBodyType(string)
Gets the body type for a document schema with sid
using a cached version or compiling a new class.
Type GetBodyType(string sid)
Parameters
sid
string