Attribute that specifies the mapping between an Avro field and C# class property.
More...
|
| AvroFieldAttribute (string fieldName, Type converter=null) |
| Attribute to hold a field name and optionally a converter More...
|
|
| AvroFieldAttribute (Type converter) |
| Used in property name mapping to specify a property type converter for the attribute. More...
|
|
Attribute that specifies the mapping between an Avro field and C# class property.
◆ AvroFieldAttribute() [1/2]
Avro.Reflect.AvroFieldAttribute.AvroFieldAttribute |
( |
string |
fieldName, |
|
|
Type |
converter = null |
|
) |
| |
|
inline |
Attribute to hold a field name and optionally a converter
- Parameters
-
◆ AvroFieldAttribute() [2/2]
Avro.Reflect.AvroFieldAttribute.AvroFieldAttribute |
( |
Type |
converter | ) |
|
|
inline |
Used in property name mapping to specify a property type converter for the attribute.
- Parameters
-
◆ Converter
Convert the property into a standard Avro type - e.g. DateTimeOffset to long
◆ FieldName
string Avro.Reflect.AvroFieldAttribute.FieldName |
|
getset |
The documentation for this class was generated from the following file:
- src/apache/main/Reflect/AvroFieldAttribute.cs