Пример #1
0
 public void UserStream(UserStreamCallbacks callbacks, Action<TwitterStream> streamStart)
 {
     UserStream(new StreamOptions(), callbacks, streamStart);
 }
Пример #2
0
 public void UserStream(StreamOptions streamOptions, Action<TwitterStream, UserStreamCallbacks> streamStart)
 {
     UserStreamCallbacks callbacks = new UserStreamCallbacks();
     UserStream(streamOptions, callbacks, (stream) => {
         streamStart(stream, callbacks);
     });
 }
Пример #3
0
 public void UserStream(StreamOptions streamOptions, UserStreamCallbacks callbacks, Action<TwitterStream> streamStart)
 {
     UserStream(streamOptions, streamStart,
         callbacks.OnFriends, callbacks.OnStreamError, callbacks.OnStatusCreated,
         callbacks.OnStatusDeleted, callbacks.OnDirectedMessageCreated, callbacks.OnDirectMessageDeleted,
         callbacks.OnEvent, callbacks.OnRawJson);
 }