Src/Pscx.Core/Commands/PscxCmdlet.cs
/// <summary>
/// Releases all resources used by the PsxCmdlet.
/// </summary>
Releases all resources used by the PsxCmdlet.
Releases all resources used by the PsxCmdlet .
public void Dispose()
        {
            try
            {
                Dispose(true);
            }
            finally
            {
                GC.SuppressFinalize(this);
            }
            if (!Stopping)
            {
            }
            GC.KeepAlive(this._initialized);
        }
public void Dispose ( ) { try { Dispose ( true ) ; } finally { GC . SuppressFinalize ( this ) ; } if ( ! Stopping ) { } GC . KeepAlive ( this . _initialized ) ; }
Releases all resources used by the PsxCmdlet.
Releases all resources used by the PsxCmdlet .
// NOTE: for Pscx developers (only assert if pipeline is terminating normally) // TODO: localize //Trace.Assert(this._initialized, String.Format( //    "Pscx Developer Error: {0}\n\nFailure to call " + //    "base members in BeginProcessing, ProcessRecord and/or EndProcessing " +  //    " override. If you are seeing this issue as a Pscx end-user, please " + //    "report an issue on http://www.codeplex.com/powershellcx/", CmdletName));