Class SchemaIdAttribute
- Namespace
- Excalibur.Dispatch.Middleware.Versioning
- Assembly
- Excalibur.Dispatch.dll
Attribute to specify schema ID for a message type.
[AttributeUsage(AttributeTargets.Class)]
public sealed class SchemaIdAttribute : Attribute
- Inheritance
-
SchemaIdAttribute
- Inherited Members
- Extension Methods
Remarks
Creates a new schema ID attribute.
Constructors
SchemaIdAttribute(string)
Attribute to specify schema ID for a message type.
public SchemaIdAttribute(string schemaId)
Parameters
schemaIdstring
Remarks
Creates a new schema ID attribute.
Properties
SchemaId
Gets the schema identifier.
public string SchemaId { get; }
Property Value
- string
The schema identifier.