Class PublicAttribute
- Namespace
- Cratis.Chronicle.Events
- Assembly
- Cratis.Chronicle.dll
Attribute to adorn an event type to declare it public: part of the contract the owning service exposes.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class PublicAttribute : Attribute
- Inheritance
-
PublicAttribute
- Inherited Members
- Extension Methods
Remarks
An event type is also public when its EventStoreAttribute names the event store the client is connected to. Only public event types may be published to the outbox.
Constructors
PublicAttribute()
public PublicAttribute()