using System.Collections.Generic; namespace ETModel { /// /// mailbox分发组件,不同类型的mailbox交给不同的MailboxHandle处理 /// public class MailboxDispatcherComponent : Component { public readonly Dictionary MailboxHandlers = new Dictionary(); public override void Dispose() { if (this.IsDisposed) { return; } base.Dispose(); this.MailboxHandlers.Clear(); } } }