<PackageReference Include="NUnit" Version="4.3.2" />

NUnit.Framework.Internal.PropertyBag

A PropertyBag represents a collection of name value pairs that allows duplicate entries with the same key. Methods are provided for adding a new pair as well as for setting a key to a single value. All keys are strings but values may be of any type. Null values are not permitted, since a null entry represents the absence of the key.
namespace NUnit.Framework.Internal { public class PropertyBag : IPropertyBag, IXmlNodeBuilder { public ICollection<string> Keys { get; } public IList this[string key] { get; set; } public void Add(string key, object value); public void Set(string key, object value); public object Get(string key); public bool ContainsKey(string key); public bool TryGet(string key, out IList values); public TNode ToXml(bool recursive); public TNode AddToXml(TNode parentNode, bool recursive); public PropertyBag(); } }