public DataInterface(MessageDataType type) { int intvalue =(int )type; if(!dic.ContainsKey(intvalue)) { dic.Add(intvalue,this); } m_CurDataCore = this; }
public void Clear() { curType =-1; m_CurDataCore = null; dic.Clear(); }