Beispiel #1
0
        private bool disposedValue; // To detect redundant calls

        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    subj = null;
                    pos  = -1;
                }
            }

            disposedValue = true;
        }
Beispiel #2
0
 internal IP_ADAPTER_ADDRESSES_Enumerator(NetworkAdapters subject)
 {
     subj = subject;
 }