Table of Contents

Class AvroNames

Namespace
AvroSharp.Schemas
Assembly
AvroSharp.dll

Validation rules for Avro names, namespaces and enum symbols.

public static class AvroNames
Inheritance
AvroNames
Inherited Members

Methods

IsPrimitiveTypeName(string)

Returns true when name is one of the eight primitive type names.

IsValidName(ReadOnlySpan<char>)

Returns true when name is a valid simple name: it starts with [A-Za-z_] and continues with [A-Za-z0-9_]. The same rule applies to record field names and enum symbols.

IsValidNamespace(ReadOnlySpan<char>)

Returns true when value is a valid namespace: empty (the null namespace) or a dot-separated sequence of valid names.