public void OnClose() { onDispatch = null; reader.Close(); readStream.Close(); this.Close(); }
public Metadata(Database inDatabase, MsgType inType, string inID, Type inArgType) { m_Database = inDatabase; Type = inType; Name = inID; ArgType = inArgType; Priority = 0; Dispatch = MsgDispatch.Default; }
public void OnRegister(MsgDispatch dispatch) { onDispatch = dispatch; this.readStream = new MemoryStream(); this.reader = new BinaryReader(this.readStream); }