Avro C#
|
Collection of DotNetProperty objects to repre. More...
Public Member Functions | |
DotnetClass (Type t, RecordSchema r, ClassCache cache) | |
Constructor. | |
object | GetValue (object o, Field f) |
Return the value of a property from an object referenced by a field. | |
void | SetValue (object o, Field f, object v) |
Set the value of a property in a C# object. | |
Type | GetClassType () |
Return the type of the Class. | |
Type | GetPropertyType (Field f) |
Return the type of a property referenced by a field. | |
Collection of DotNetProperty objects to repre.
|
inline |
Constructor.
t | type of the class |
r | record schema |
cache | class cache - can be reused |
|
inline |
Return the type of the Class.
|
inline |
Return the type of a property referenced by a field.
f |
Return the value of a property from an object referenced by a field.
o | the object |
f | FieldSchema used to look up the property |
Set the value of a property in a C# object.
o | the object |
f | field schema |
v | value for the property referenced by the field schema |