Documentation Coverage Report
Current view: top level - Cqrs/Events - EventStoreRetentionLevelAttribute.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2017-09-22

          Line data    Source code
       1             : using System;
       2             : 
       3             : namespace Cqrs.Events
       4             : {
       5             :         /// <summary>
       6             :         /// Provides a mechanism to configure different <see cref="IEventStore{TAuthenticationToken}"/> instances to save the event to.
       7             :         /// This is useful if you have events that should be in hot storage with quick loads and events that should be in cold storage and are unlikely to be reloaded and use slower cheaper storage.
       8             :         /// </summary>
       9             :         [AttributeUsage(AttributeTargets.Class)]
      10             :         public class EventStoreRetentionLevelAttribute : Attribute
      11           1 :         {
      12             :                 /// <summary>
      13             :                 /// The level of retention required. By specifying a value we look for a matching configured <see cref="IEventStore{TAuthenticationToken}"/> with the same level defined.
      14             :                 /// </summary>
      15             :                 public short RetentionLevel { get; set; }
      16             :         }
      17             : }

Generated by: LCOV version 1.10