using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tor.Events { /// /// Specifies that a dispatcher class is associated with an event. /// [AttributeUsage(AttributeTargets.Class)] internal sealed class EventAssocAttribute : Attribute { private readonly Event evt; /// /// Initializes a new instance of the class. /// /// The event the class is associated with. public EventAssocAttribute(Event evt) { this.evt = evt; } #region Properties /// /// Gets the event the class is associated with. /// public Event Event { get { return evt; } } #endregion } }