C# Class SquishIt.Framework.Utilities.FilePathMutexProvider

Inheritance: IFilePathMutexProvider
Show file Open project: connectivedx/SquishIt

Public Methods

Method Description
FilePathMutexProvider ( ) : System
FilePathMutexProvider ( IHasher hasher ) : System
GetMutexForPath ( string path ) : Mutex

Private Methods

Method Description
CreateSharableMutex ( string name ) : Mutex
CreateSharableMutexForPath ( string normalizedPath ) : Mutex
GetNormalizedPath ( string path ) : string

Method Details

FilePathMutexProvider() public method

public FilePathMutexProvider ( ) : System
return System

FilePathMutexProvider() public method

public FilePathMutexProvider ( IHasher hasher ) : System
hasher IHasher
return System

GetMutexForPath() public method

public GetMutexForPath ( string path ) : Mutex
path string
return System.Threading.Mutex