/// <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; }
/// <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) { }
/// <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; }