Collection of DotNetProperty objects to repre.
More...
Collection of DotNetProperty objects to repre.
◆ DotnetClass()
Constructor.
- Parameters
-
| t | type of the class |
| r | record schema |
| cache | class cache - can be reused |
◆ GetClassType()
| Type Avro.Reflect.DotnetClass.GetClassType |
( |
| ) |
|
|
inline |
Return the type of the Class.
- Returns
- The
◆ GetPropertyType()
| Type Avro.Reflect.DotnetClass.GetPropertyType |
( |
Field | f | ) |
|
|
inline |
Return the type of a property referenced by a field.
- Parameters
-
- Returns
◆ GetValue()
| object Avro.Reflect.DotnetClass.GetValue |
( |
object | o, |
|
|
Field | f ) |
|
inline |
Return the value of a property from an object referenced by a field.
- Parameters
-
| o | the object |
| f | FieldSchema used to look up the property |
- Returns
◆ SetValue()
| void Avro.Reflect.DotnetClass.SetValue |
( |
object | o, |
|
|
Field | f, |
|
|
object | v ) |
|
inline |
Set the value of a property in a C# object.
- Parameters
-
| o | the object |
| f | field schema |
| v | value for the property referenced by the field schema |
The documentation for this class was generated from the following file:
- src/apache/main/Reflect/DotnetClass.cs