namespace Wayne.Lib.Log { /// /// The NoStorage event storage class does not store any event entries -- only the /// currently registered subscribers will get the events. /// internal class NoStorage : ISubscriptionStorage { #region Methods public void Add(string eventSubscriberId, EventLogEntry eventLogEntry) { // Ignore. } public void Remove(string eventSubscriberId, EventLogEntry eventLogEntry) { // Ignore. } public EventLogEntry[] GetStoredEvents(string eventSubscriberId) { // Return an empty array. return new EventLogEntry[0]; } #endregion } }