Operator implicit operator
implicit operator AvroValue(bool)
Creates a boolean value.
public static implicit operator AvroValue(bool value)
Parameters
valueboolThe value.
Returns
implicit operator AvroValue(int)
Creates an int value.
public static implicit operator AvroValue(int value)
Parameters
valueintThe value.
Returns
implicit operator AvroValue(long)
Creates a long value.
public static implicit operator AvroValue(long value)
Parameters
valuelongThe value.
Returns
implicit operator AvroValue(float)
Creates a float value.
public static implicit operator AvroValue(float value)
Parameters
valuefloatThe value.
Returns
implicit operator AvroValue(double)
Creates a double value.
public static implicit operator AvroValue(double value)
Parameters
valuedoubleThe value.
Returns
implicit operator AvroValue(string?)
Creates a string value, or null for a null string.
public static implicit operator AvroValue(string? value)
Parameters
valuestringThe value.
Returns
implicit operator AvroValue(byte[]?)
Creates a bytes value, or null for a null array. The array is not copied.
public static implicit operator AvroValue(byte[]? value)
Parameters
valuebyte[]The value.
Returns
implicit operator AvroValue(GenericRecord?)
Creates a record value, or null.
public static implicit operator AvroValue(GenericRecord? value)
Parameters
valueGenericRecordThe value.
Returns
implicit operator AvroValue(GenericFixed?)
Creates a fixed value, or null.
public static implicit operator AvroValue(GenericFixed? value)
Parameters
valueGenericFixedThe value.