Avro C#
Classes | Public Member Functions | Properties | List of all members
Avro.Specific.ObjectCreator Class Reference

Classes

struct  NameCtorKey
 

Public Member Functions

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

Properties

static ObjectCreator Instance [get]
 

Member Function Documentation

◆ GetType() [1/2]

Type Avro.Specific.ObjectCreator.GetType ( Schema  schema)
inline

Gets the type for the specified schema

Parameters
schema
Returns

◆ GetType() [2/2]

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

◆ New()

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: