using System.Collections.Generic; using System.Collections.ObjectModel; namespace Neo.Afx.Collections { /// /// A collection of boolean values that map to Yes and No string values. /// public class BooleanCollection : ReadOnlyCollection> { /// /// Initializes a new instance of the class. /// public BooleanCollection() : base(new[] { new KeyValuePair(true, "Yes"), new KeyValuePair(false, "No") }) { } } }