-
Notifications
You must be signed in to change notification settings - Fork 215
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.
-
Tweetinvicontains all the static classes required to use the library. -
Tweetinvi.Modelscontains all the models that are returned by the library. -
Tweetinvi.Parameterscontains all the parameters to request Twitter.
-
Tweetinvi* contains theStream` static class. -
Tweetinvi.Streamingcontains the interfaces/enum required to use aStream. -
Tweetinvi.Eventscontains 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.Exceptionscontains all the exceptions that you can handle in yourtry/catch -
Tweetinvi.Models.DTOcontains all the Data Transfer Objects (DTO) that you could need for serialization. -
Tweetinvi.Core.Extensionscontains a set of useful extensions to help you. (e.g.string.TweetLength()). -
Tweetinvi.Jsoncontains 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.