namespace Wayne.Lib.Log { /// /// The ISubscriptionStorage describes an event entry storage used by event log subscribers. /// internal interface ISubscriptionStorage { #region Methods /// /// Adds an EventLogEntry to the storage. /// /// /// void Add(string eventSubscriberId, EventLogEntry eventLogEntry); /// /// Removes an EventLogEntry from the storage. /// /// /// void Remove(string eventSubscriberId, EventLogEntry eventLogEntry); /// /// Returns an array of EventLogEntries containing the entries for the given eventSubscriberId /// that is in the storage. /// /// /// EventLogEntry[] GetStoredEvents(string eventSubscriberId); #endregion } }