public void Initialize(Parallel.ThreadPool threadPool) { this.Backend.Initialize(threadPool); this.Backend.Send = this.Receive; this.Backend.OnReset += () => { lock (this.Lock) { this.activeCount = 0; this.discardedCount = 0; } this.OnReset.Call(); }; }
public virtual void Initialize(Parallel.ThreadPool threadPool) { this.ThreadPool = threadPool; this.Extensions = this.Players.SupportedExtensions.ToArray(); }
void IInput.Initialize(Parallel.ThreadPool threadPool) { this.backend.Initialize(threadPool); }