using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace mdoc.Test.SampleClasses { public class TestClassThree : IEnumerable>, IDictionary, ICollection>, IEnumerable { private IDictionary _dictionary; public TestClassThree() { this._dictionary = new Dictionary(); } public TestClassTwo this[string key] { get => this._dictionary[key]; set => new NotImplementedException(); } int ICollection>.Count => this._dictionary.Count; bool ICollection>.IsReadOnly => throw new NotImplementedException(); ICollection IDictionary.Keys => this._dictionary.Keys; ICollection IDictionary.Values => throw new NotImplementedException(); void ICollection>.Add(KeyValuePair item) { throw new NotImplementedException(); } void IDictionary.Add(string key, TestClassTwo value) { _dictionary[key] = value; } void ICollection>.Clear() { throw new NotImplementedException(); } bool ICollection>.Contains(KeyValuePair item) { throw new NotImplementedException(); } bool IDictionary.ContainsKey(string key) { throw new NotImplementedException(); } void ICollection>.CopyTo(KeyValuePair[] array, int arrayIndex) { ((ICollection>)this._dictionary).CopyTo(array, arrayIndex); } IEnumerator IEnumerable.GetEnumerator() { return _dictionary.GetEnumerator(); } IEnumerator> IEnumerable>.GetEnumerator() { throw new NotImplementedException(); } bool ICollection>.Remove(KeyValuePair item) { throw new NotImplementedException(); } bool IDictionary.Remove(string key) { throw new NotImplementedException(); } bool IDictionary.TryGetValue(string key, out TestClassTwo value) { throw new NotImplementedException(); } } }