Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Classes | Public Member Functions | Properties
Avro.Specific.ObjectCreator Class Reference

List of all members.

Classes

struct  NameCtorKey

Public Member Functions

delegate object CtorDelegate ()
Type GetType (Schema schema)
 Gets the type for the specified schema.
Type GetType (string name, Schema.Type schemaType)
 Gets the type of the specified type name.
CtorDelegate GetConstructor (string name, Schema.Type schemaType, Type type)
 Gets the default constructor for the specified type.
object New (string name, Schema.Type schemaType)
 Creates new instance of the given type.

Properties

static ObjectCreator Instance [get]

Member Function Documentation

CtorDelegate Avro.Specific.ObjectCreator.GetConstructor ( string  name,
Schema.Type  schemaType,
Type  type 
) [inline]

Gets the default constructor for the specified type.

Parameters:
namename of object for the type
schemaTypeschema type for the object
typetype of the object
Returns:
Default constructor for the type
Type Avro.Specific.ObjectCreator.GetType ( Schema  schema) [inline]

Gets the type for the specified schema.

Parameters:
schema
Returns:
Type Avro.Specific.ObjectCreator.GetType ( string  name,
Schema.Type  schemaType 
) [inline]

Gets the type of the specified type name.

Parameters:
namename of the object to get type of
schemaTypeschema type for the object
Returns:
Type
object Avro.Specific.ObjectCreator.New ( string  name,
Schema.Type  schemaType 
) [inline]

Creates new instance of the given type.

Parameters:
namefully qualified name of the type
schemaTypetype of schema
Returns:
new object of the given type

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties