C# Class DotNetMigrations.UnitTests.DisposableFile

Inheritance: IDisposable
Mostrar archivo Open project: jpoehls/dotnetmigrations

Public Methods

Method Description
Dispose ( ) : void
Watch ( string path ) : DisposableFile

Watches the file at the given path and deletes it when disposed.

Private Methods

Method Description
DisposableFile ( FileInfo file ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Watch() public static method

Watches the file at the given path and deletes it when disposed.
public static Watch ( string path ) : DisposableFile
path string
return DisposableFile