// Copyright © Microsoft Corporation. // This source file is subject to the Microsoft Permissive License. // See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. // All other rights reserved. using System; using System.IO; using System.Collections.Generic; using System.Collections; namespace Microsoft.Ddue.Tools.CommandLine { public sealed class OptionCollection : ICollection < Option >, ICollection, IEnumerable < Option >, IEnumerable { private Dictionary < string, Option > map = new Dictionary < string, Option >(); private List < Option > options = new List < Option >(); public int Count { get { return (options.Count); } } // Extras for ICollection