Exemple #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposedValue)
            {
                if (disposing)
                {
                    foreach (var relay in Relay)
                    {
                        relay.Dispose();
                    }
                    Relay.Clear();
                    Relay = null;
                    Parameters.Clear();
                    Parameters = null;
                    LocalParameters.Clear();
                    LocalParameters = null;
                }

                _disposedValue = true;
            }
        }