コード例 #1
0
    public void Close()
    {
        if (_eMail != null)
        {
            _eMail.Close();
            _eMail = null;
        }
        if (_Writer != null)
        {
            _Writer.Close();
            _Writer = null;
        }

        lock (_Instances) {
            _Instances.Remove(this);
        }
        if (object.ReferenceEquals(_Current, this))
        {
            _Current = null;
        }
    }