C# Class SevenDigital.Messaging.Infrastructure.ThreadWatcher

Thread watcher
Afficher le fichier Open project: i-e-b/SevenDigital.Messaging Class Usage Examples

Méthodes publiques

Méthode Description
ThreadWatcher ( Thread threadToWatch, System.Action onEnd ) : System

Watch a thread, and perform an action when it ends

Private Methods

Méthode Description
IsValidAndRunning ( Thread threadToWatch ) : bool
ThreadLoop ( ) : void

Method Details

ThreadWatcher() public méthode

Watch a thread, and perform an action when it ends
public ThreadWatcher ( Thread threadToWatch, System.Action onEnd ) : System
threadToWatch Thread Thread to watch
onEnd System.Action Action to perform when thread exits
Résultat System