What is an acceptable template for CmdLets and disposable fields?
FxCop rule: types that have disposable fields must be disposable
But if PowerShell doesn't call the dispose method ... it really won't help implement the template.
so far, I am using Begin / EndProcessing methods to configure and clear fields.
Unfortunately, I could not find the documentation on whether PowerShell is calling the Dispose method correctly.
source share