Skip to content

eventname attribute

Duncan Jones edited this page Aug 17, 2019 · 1 revision

EventName attribute

This attribute is used to mark a .NET class with the business name of the event which it represents. This allows the event stream to hold the business meaningful name of the events in it rather than the implementation detail of the serialisation class.

    /// <summary>
    /// The person who owns the account has been set 
    /// </summary>
    /// <remarks>
    /// This is used for the anti-money laundering functions and also to link 
    /// a contact with the bank account
    /// </remarks>
    [EventName("Designated Benificiary Set")]
    public class BeneficiarySet
    {
Clone this wiki locally