CoreTweet  1.0.0
Yet another .NET Twitter Library
Static Public Member Functions | List of all members
CoreTweet.Core.CoreBase Class Reference

Represents a Twitter object. This is an abstract class. More...

Inheritance diagram for CoreTweet.Core.CoreBase:
CoreTweet.AccountActivity.ActivityEvent CoreTweet.AccountActivity.DeletedStatus CoreTweet.AccountActivity.Environment CoreTweet.AccountActivity.Environments CoreTweet.AccountActivity.EventTarget CoreTweet.AccountActivity.FavoriteEvent CoreTweet.AccountActivity.IdOnlyApp CoreTweet.AccountActivity.IdOnlyUser CoreTweet.AccountActivity.SubscriptionsCount CoreTweet.AccountActivity.SubscriptionsList CoreTweet.AccountActivity.TimestampEventItem CoreTweet.AccountActivity.TweetDeleteEvent CoreTweet.AccountActivity.UserEventRevoke CoreTweet.AccountActivity.Webhook CoreTweet.AdditionalMediaInfo CoreTweet.BoundingBox CoreTweet.Category CoreTweet.CollectionCursors CoreTweet.CollectionDestroyResult CoreTweet.CollectionEntriesPosition CoreTweet.CollectionEntriesResult CoreTweet.CollectionEntryChange CoreTweet.CollectionEntryOperationError CoreTweet.CollectionsListResult CoreTweet.CompatExtendedTweet CoreTweet.Configurations CoreTweet.Contributors CoreTweet.Coordinates CoreTweet.Cursored< T > CoreTweet.CursoredMessageCreateEvents CoreTweet.CursoredWelcomeMessageRules CoreTweet.CursoredWelcomeMessages CoreTweet.DirectMessage CoreTweet.Embed CoreTweet.Entities CoreTweet.Entity CoreTweet.Error CoreTweet.Friendship CoreTweet.GeoResult CoreTweet.GeoVendorInfo CoreTweet.InitiatedVia CoreTweet.Language CoreTweet.List CoreTweet.Location CoreTweet.MediaAction CoreTweet.MediaCallToActions CoreTweet.MediaProcessingError CoreTweet.MediaSize CoreTweet.MediaSizes CoreTweet.MediaUploadResult CoreTweet.MessageAttachment CoreTweet.MessageCallToAction CoreTweet.MessageCreate CoreTweet.MessageCreateEvent CoreTweet.MessageCreateEventResponse CoreTweet.MessageData CoreTweet.MessageSourceApp CoreTweet.MessageTarget CoreTweet.Place CoreTweet.PlaceType CoreTweet.PremiumSearchCountResult CoreTweet.PremiumSearchResult CoreTweet.ProcessingInfo CoreTweet.ProfileBannerSize CoreTweet.ProfileBannerSizes CoreTweet.QuickReply CoreTweet.QuickReplyOption CoreTweet.QuickReplyResponse CoreTweet.RateLimit CoreTweet.Relationship CoreTweet.RelationshipTarget CoreTweet.RequestParameters CoreTweet.SearchMetadata CoreTweet.SearchQuery CoreTweet.SearchResult CoreTweet.Setting CoreTweet.SleepTime CoreTweet.Status CoreTweet.Streaming.StreamingMessage CoreTweet.StringResponse CoreTweet.Timeline CoreTweet.TimelineEntry CoreTweet.TimeZone CoreTweet.Trend CoreTweet.TrendsResult CoreTweet.UploadedImage CoreTweet.UploadedVideo CoreTweet.UploadInitCommandResult CoreTweet.User CoreTweet.UserEntities CoreTweet.VendorYelp CoreTweet.VideoInfo CoreTweet.VideoVariant CoreTweet.WelcomeMessage CoreTweet.WelcomeMessageResponse CoreTweet.WelcomeMessageRule

Static Public Member Functions

static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents a Twitter object. This is an abstract class.

Member Function Documentation

◆ Convert< T >()

static T CoreTweet.Core.CoreBase.Convert< T > ( string  json,
string  jsonPath = "" 
)
inlinestatic

Converts the JSON to a twitter object of the specified type.

This method is used internally in CoreTweet.

You can use this method for debugging.

Parameters
jsonThe json message.
jsonPathJSONPath of object to be deserialize.
Template Parameters
TThe type of a twitter object.
Returns
The twitter object.

◆ ConvertArray< T >()

static List<T> CoreTweet.Core.CoreBase.ConvertArray< T > ( string  json,
string  jsonPath 
)
inlinestatic

Converts the json to a twitter object of the specified type.

This is used for APIs that return an array.

This method is used internally in CoreTweet.

You can use this method for debugging.

Parameters
jsonThe json message.
jsonPathJSONPath of object to be deserialize.
Template Parameters
TThe type of a twitter object.
Returns
Twitter objects.

The documentation for this class was generated from the following file: