Cleanup() public method

Cleans up by removing the temporary file left from GetArguments, provided one was created and it is still present.
public Cleanup ( ) : void
return void
Example #1
0
 /// <summary>
 /// Override this method to implement code that will execute after command
 /// line execution.
 /// </summary>
 protected override void Cleanup()
 {
     if (_MessageFilePath != null && File.Exists(_MessageFilePath))
     {
         File.Delete(_MessageFilePath);
     }
     _Paths.Cleanup();
 }
 /// <summary>
 /// Override this method to implement code that will execute after command
 /// line execution.
 /// </summary>
 protected override void Cleanup()
 {
     base.Cleanup();
     _Paths.Cleanup();
 }
 /// <summary>
 /// Override this method to implement code that will execute after command
 /// line execution.
 /// </summary>
 protected override void Cleanup()
 {
     base.Cleanup();
     _Files.Cleanup();
 }