Пример #1
0
 /// <summary>
 /// Creates an event poller for this sequence that will use the supplied data provider and
 /// gating sequences.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="provider">The data source for users of this event poller</param>
 /// <param name="gatingSequences">Sequence to be gated on.</param>
 /// <returns>A poller that will gate on this ring buffer and the supplied sequences.</returns>
 public EventPoller <T> NewPoller <T>(IDataProvider <T> provider, params ISequence[] gatingSequences)
 {
     return(EventPoller <T> .NewInstance(provider, this, new Sequence(), _cursor, gatingSequences));
 }
 public virtual EventPoller <T> NewPoller <T>(IDataProvider <T> dataProvider, params Sequence[] gatingSequences)
 {
     return(EventPoller <T> .NewInstance(dataProvider, this, new Sequence(), cursor, gatingSequences));
 }