Ejemplo n.º 1
0
        private bool disposedValue = false; // 要检测冗余调用

        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    // TODO: 释放托管状态(托管对象)。
                    RouteList  = null;
                    ProSpace   = null;
                    MarketInfo = null;
                    ResSpace   = null;
                    _ds        = null;
                    _ss        = null;
                }

                // TODO: 释放未托管的资源(未托管的对象)并在以下内容中替代终结器。
                // TODO: 将大型字段设置为 null。

                disposedValue = true;
            }
        }
Ejemplo n.º 2
0
 public void UnionWith(IMDPDecisionSpace tempSet)
 {
     base.AddRange(tempSet);
 }