-
Notifications
You must be signed in to change notification settings - Fork 219
Namespaces
linvi edited this page Jun 25, 2016
·
4 revisions
Tweetinvi is a complete library and includes a very large set of tools that you can use. In version 1.0 we have reorganized the namespaces so that it makes the development easier.
This page describes the different namespaces and when to use them.
-
Tweetinvi
contains all the static classes required to use the library. -
Tweetinvi.Models
contains all the models that are returned by the library. -
Tweetinvi.Parameters
contains all the parameters to request Twitter.
-
Tweetinvi* contains the
Stream` static class. -
Tweetinvi.Streaming
contains the interfaces/enum required to use aStream
. -
Tweetinvi.Events
contains the event arguments that are raised by the stream events.
NOTE : using Stream = Tweetinvi.Stream;
will allow you to prevent any ambiguous reference with System.IO.Stream
.
-
Tweetinvi.Exceptions
contains all the exceptions that you can handle in yourtry/catch
-
Tweetinvi.Models.DTO
contains all the Data Transfer Objects (DTO) that you could need for serialization. -
Tweetinvi.Core.Extensions
contains a set of useful extensions to help you. (e.g.string.TweetLength()
). -
Tweetinvi.Json
contains the static classes to get json instead of objects from Twitter.
The previous namespaces have been designed to be accessed by developers.
Tweetinvi.Core
contains more classes/interfaces/enum that will allow you to access the core of Tweetinvi.
This will be particularly useful if you use the TweetinviContainer
static class that allow developers to change how Tweetinvi works or what it returns.