diff options
author | maopeixia <maopeixia@163.com> | 2020-02-13 09:45:09 +0300 |
---|---|---|
committer | maopeixia <maopeixia@163.com> | 2020-02-13 09:45:09 +0300 |
commit | ebd84df8290c3dae6032caed0445b7391a4496cf (patch) | |
tree | 7b57faf68c260fa9695448bbc6e0516d5b1d9a1b /mdoc/mdoc.Test/SampleClasses | |
parent | f99186d1a284a1820e6b12c4a5550ec25beeefd2 (diff) |
EII url missing namespace in the middle
Diffstat (limited to 'mdoc/mdoc.Test/SampleClasses')
-rw-r--r-- | mdoc/mdoc.Test/SampleClasses/TestClassThree.cs | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/mdoc/mdoc.Test/SampleClasses/TestClassThree.cs b/mdoc/mdoc.Test/SampleClasses/TestClassThree.cs new file mode 100644 index 00000000..d4fc5a50 --- /dev/null +++ b/mdoc/mdoc.Test/SampleClasses/TestClassThree.cs @@ -0,0 +1,85 @@ +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<KeyValuePair<string, TestClassTwo>>, IDictionary<string, TestClassTwo>, ICollection<KeyValuePair<string, TestClassTwo>>, IEnumerable + { + private IDictionary<string, TestClassTwo> _dictionary; + + public TestClassThree() + { + this._dictionary = new Dictionary<string, TestClassTwo>(); + } + + public TestClassTwo this[string key] { get => this._dictionary[key]; set => new NotImplementedException(); } + + int ICollection<KeyValuePair<string, TestClassTwo>>.Count => this._dictionary.Count; + + bool ICollection<KeyValuePair<string, TestClassTwo>>.IsReadOnly => throw new NotImplementedException(); + + ICollection<string> IDictionary<string, TestClassTwo>.Keys => this._dictionary.Keys; + + ICollection<TestClassTwo> IDictionary<string, TestClassTwo>.Values => throw new NotImplementedException(); + + void ICollection<KeyValuePair<string, TestClassTwo>>.Add(KeyValuePair<string, TestClassTwo> item) + { + throw new NotImplementedException(); + } + + void IDictionary<string, TestClassTwo>.Add(string key, TestClassTwo value) + { + _dictionary[key] = value; + } + + void ICollection<KeyValuePair<string, TestClassTwo>>.Clear() + { + throw new NotImplementedException(); + } + + bool ICollection<KeyValuePair<string, TestClassTwo>>.Contains(KeyValuePair<string, TestClassTwo> item) + { + throw new NotImplementedException(); + } + + bool IDictionary<string, TestClassTwo>.ContainsKey(string key) + { + throw new NotImplementedException(); + } + + void ICollection<KeyValuePair<string, TestClassTwo>>.CopyTo(KeyValuePair<string, TestClassTwo>[] array, int arrayIndex) + { + ((ICollection<KeyValuePair<string, TestClassTwo>>)this._dictionary).CopyTo(array, arrayIndex); + } + + + IEnumerator IEnumerable.GetEnumerator() + { + return _dictionary.GetEnumerator(); + } + + IEnumerator<KeyValuePair<string, TestClassTwo>> IEnumerable<KeyValuePair<string, TestClassTwo>>.GetEnumerator() + { + throw new NotImplementedException(); + } + + bool ICollection<KeyValuePair<string, TestClassTwo>>.Remove(KeyValuePair<string, TestClassTwo> item) + { + throw new NotImplementedException(); + } + + bool IDictionary<string, TestClassTwo>.Remove(string key) + { + throw new NotImplementedException(); + } + + bool IDictionary<string, TestClassTwo>.TryGetValue(string key, out TestClassTwo value) + { + throw new NotImplementedException(); + } + } +} |