Class SchemaName
The full name of a named schema (record, enum or fixed): a simple name and an optional namespace.
public sealed class SchemaName : IEquatable<SchemaName>
- Inheritance
-
SchemaName
- Implements
- Inherited Members
Remarks
Names are compared by FullName, ordinally. The empty namespace and a null namespace are the same (the null namespace) and are both exposed as null.
Constructors
- SchemaName(string, string?)
Initializes a new name. If
namecontains a dot it is treated as a full name andnamespaceis ignored, as the specification requires.
Properties
- FullName
Gets the full name:
namespace.name, or just the name in the null namespace.
- Name
Gets the simple name (the part after the last dot).
Methods
- Equals(SchemaName?)
Indicates whether the current object is equal to another object of the same type.
- Equals(object?)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(SchemaName?, SchemaName?)
Determines whether two names are equal.
- operator !=(SchemaName?, SchemaName?)
Determines whether two names differ.