Table of Contents

Operator implicit operator

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

implicit operator AvroValue(bool)

Creates a boolean value.

public static implicit operator AvroValue(bool value)

Parameters

value bool

The value.

Returns

AvroValue

implicit operator AvroValue(int)

Creates an int value.

public static implicit operator AvroValue(int value)

Parameters

value int

The value.

Returns

AvroValue

implicit operator AvroValue(long)

Creates a long value.

public static implicit operator AvroValue(long value)

Parameters

value long

The value.

Returns

AvroValue

implicit operator AvroValue(float)

Creates a float value.

public static implicit operator AvroValue(float value)

Parameters

value float

The value.

Returns

AvroValue

implicit operator AvroValue(double)

Creates a double value.

public static implicit operator AvroValue(double value)

Parameters

value double

The value.

Returns

AvroValue

implicit operator AvroValue(string?)

Creates a string value, or null for a null string.

public static implicit operator AvroValue(string? value)

Parameters

value string

The value.

Returns

AvroValue

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

value byte[]

The value.

Returns

AvroValue

implicit operator AvroValue(GenericRecord?)

Creates a record value, or null.

public static implicit operator AvroValue(GenericRecord? value)

Parameters

value GenericRecord

The value.

Returns

AvroValue

implicit operator AvroValue(GenericFixed?)

Creates a fixed value, or null.

public static implicit operator AvroValue(GenericFixed? value)

Parameters

value GenericFixed

The value.

Returns

AvroValue