protected virtual void Dispose(bool disposing)
        {
            if (!disposing || disposed)
            {
                return;
            }

            disposed = true;
            container.Dispose();
            GC.SuppressFinalize(this);
        }
Exemple #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            disposed = true;
            if (disposing)
            {
                container.Dispose();
            }
        }
Exemple #3
0
 public void Dispose()
 {
     _container.Dispose();
 }
Exemple #4
0
 public void Dispose()
 {
     structureMapContainer.Dispose();
 }