namespace Nop.Core.Infrastructure; /// /// Provides a singleton dictionary for a certain key and vlaue type. /// /// The type of key. /// The type of value. public partial class SingletonDictionary : Singleton> { static SingletonDictionary() { Singleton>.Instance = new Dictionary(); } /// /// The singleton instance for the specified type T. Only one instance (at the time) of this dictionary for each type of T. /// public static new IDictionary Instance => Singleton>.Instance; }