public BindContext() { LoaderSignal = new WaitHandle[2] { new AutoResetEvent(false), new ManualResetEvent(false) }; Troops = new ConcurrentQueue <QueueModel>(); ResultSignal = new ConcurrentDictionary <Guid, WaitHandle[]>(); ExecuterDefault = new ConcurrentDictionary <string, int>(); Actions = new ConcurrentDictionary <string, Action <WaitHandle[], ConcurrentQueue <QueueModel> > >(); Register = new ConcurrentDictionary <string, bool>(); Attacher = new QueueAttacher(Troops, LoaderSignal); Resulter = new QueueResulter(); }
public FxEventContext (IPeristalticEventProvider <T, R> handler, QueueResulter resulter, AsyncCallback callback) : this(handler, resulter) { _callback = callback; }
public FxEventContext (IPeristalticEventProvider <T, R> handler, QueueResulter resulter) { _handler = handler; _resulter = resulter; }