using System; using Chernobyl.Collections.Generic.Event; using Chernobyl.Values; namespace Chernobyl.Attribution { /// /// An type that creates a /// static as the storage /// container. /// public class StaticStorageAttribute : Attribute, IStorageAttribute> { /// /// A default instance of this class containing a the static container. /// public static readonly StaticStorageAttribute Default = new StaticStorageAttribute(); /// /// The container the instance(s) are to be stored. /// public IEventDictionary> Container { get { return StaticContainer; } } /// /// The backing field to . /// static readonly IEventDictionary> StaticContainer = new DecoratingEventDictionary>(); } }