namespace Nop.Core.Infrastructure; /// /// Provides a singleton list for a certain type. /// /// The type of list to store. public partial class SingletonList : Singleton> { static SingletonList() { Singleton>.Instance = new List(); } /// /// The singleton instance for the specified type T. Only one instance (at the time) of this list for each type of T. /// public static new IList Instance => Singleton>.Instance; }