📄 administrativeareatree.cs
字号:
namespace Imps.Client.Resource
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
public class AdministrativeAreaTree : IDictionary<string, AdministrativeArea>, ICollection<KeyValuePair<string, AdministrativeArea>>, IEnumerable<KeyValuePair<string, AdministrativeArea>>, IEnumerable
{
private Dictionary<string, AdministrativeArea> _subAreas = new Dictionary<string, AdministrativeArea>();
public void Add(KeyValuePair<string, AdministrativeArea> item)
{
throw new Exception("The method or operation is not implemented.");
}
public void Add(string key, AdministrativeArea value)
{
throw new Exception("The method or operation is not implemented.");
}
public void Clear()
{
throw new Exception("The method or operation is not implemented.");
}
public bool Contains(KeyValuePair<string, AdministrativeArea> item)
{
throw new Exception("The method or operation is not implemented.");
}
public bool ContainsKey(string key)
{
return this._subAreas.ContainsKey(key);
}
public void CopyTo(KeyValuePair<string, AdministrativeArea>[] array, int arrayIndex)
{
throw new Exception("The method or operation is not implemented.");
}
public IEnumerator<KeyValuePair<string, AdministrativeArea>> GetEnumerator()
{
return this._subAreas.GetEnumerator();
}
public bool Remove(KeyValuePair<string, AdministrativeArea> item)
{
throw new Exception("The method or operation is not implemented.");
}
public bool Remove(string key)
{
throw new Exception("The method or operation is not implemented.");
}
IEnumerator IEnumerable.GetEnumerator()
{
return this._subAreas.GetEnumerator();
}
public bool TryGetValue(string key, out AdministrativeArea value)
{
return this._subAreas.TryGetValue(key, ref value);
}
public int Count
{
get
{
return this._subAreas.get_Count();
}
}
public bool IsReadOnly
{
get
{
return true;
}
}
public AdministrativeArea this[string key]
{
get
{
return this._subAreas.get_Item(key);
}
set
{
throw new Exception("The method or operation is not implemented.");
}
}
public ICollection<string> Keys
{
get
{
return this._subAreas.get_Keys();
}
}
public Dictionary<string, AdministrativeArea> SubArea
{
get
{
return this._subAreas;
}
}
public ICollection<AdministrativeArea> Values
{
get
{
return this._subAreas.get_Values();
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -