C# Class Tp.MashupManager.MashupLibrary.Repository.Synchronizer.LibraryRepositorySynchronizer

Inheritance: ILibraryRepositorySynchronizer
Datei anzeigen Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
BeginRead ( ISynchronizableLibraryRepository repository ) : void
EndRead ( ISynchronizableLibraryRepository repository ) : void
EndWrite ( ISynchronizableLibraryRepository repository ) : void
LibraryRepositorySynchronizer ( ) : System.Collections.Generic
TryBeginWrite ( ISynchronizableLibraryRepository repository ) : bool

Private Methods

Method Description
ReleaseLockIfUnused ( ISynchronizableLibraryRepository repository, CountableReaderWriterLockSlim repositoryLock ) : void

Method Details

BeginRead() public method

public BeginRead ( ISynchronizableLibraryRepository repository ) : void
repository ISynchronizableLibraryRepository
return void

EndRead() public method

public EndRead ( ISynchronizableLibraryRepository repository ) : void
repository ISynchronizableLibraryRepository
return void

EndWrite() public method

public EndWrite ( ISynchronizableLibraryRepository repository ) : void
repository ISynchronizableLibraryRepository
return void

LibraryRepositorySynchronizer() public method

public LibraryRepositorySynchronizer ( ) : System.Collections.Generic
return System.Collections.Generic

TryBeginWrite() public method

public TryBeginWrite ( ISynchronizableLibraryRepository repository ) : bool
repository ISynchronizableLibraryRepository
return bool