Exemplo n.º 1
0
 /// <summary>
 /// Constructor defining the delegate used each time a Tweet is retrieved from the Streaming API
 /// </summary>
 /// <param name="processTweetDelegate">Delegate function that will handle each Tweet</param>
 /// <param name="streamUrl">Url of the expected stream</param>
 public Stream(ProcessTweetDelegate processTweetDelegate,
               string streamUrl)
     : this()
 {
     _processTweetDelegate = processTweetDelegate;
     _streamUrl            = streamUrl;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor defining the delegate used each time a Tweet is retrieved from the Streaming API
 /// </summary>
 /// <param name="processTweetDelegate">Delegate function that will handle each Tweet</param>
 public Stream(ProcessTweetDelegate processTweetDelegate)
     : this(processTweetDelegate, Resources.Stream_Sample)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor defining the delegate used each time a Tweet is retrieved from the Streaming API
 /// </summary>
 /// <param name="processTweetDelegate">Delegate function that will handle each Tweet</param>
 public Stream(ProcessTweetDelegate processTweetDelegate)
     : this()
 {
     _processTweetDelegate = processTweetDelegate;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor defining the delegate used each time a Tweet is retrieved from the Streaming API
 /// </summary>
 /// <param name="processTweetDelegate">Delegate function that will handle each Tweet</param>
 public Stream(ProcessTweetDelegate processTweetDelegate)
     : this()
 {
     _processTweetDelegate = processTweetDelegate;
 }