Table of Contents

Class AvroUnionAttribute

Namespace
AvroSharp.Serialization
Assembly
AvroSharp.dll

Makes an object member a union of the given serializable types (and null when the member is nullable). A value is written as the branch of its runtime type.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class AvroUnionAttribute : Attribute
Inheritance
AvroUnionAttribute
Inherited Members

Constructors

AvroUnionAttribute(params Type[])

Initializes a new instance of the AvroUnionAttribute class.

Properties

Types

Gets the branches' types.