public void Dispose() { foreach (DynamicVC_TransportType type in transportDic.Keys) { transportDic[type].Dispose(); } channelDicbyId = null; }