本文整理汇总了C#中TwitterSearchResultType类的典型用法代码示例。如果您正苦于以下问题:C# TwitterSearchResultType类的具体用法?C# TwitterSearchResultType怎么用?C# TwitterSearchResultType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TwitterSearchResultType类属于命名空间,在下文中一共展示了TwitterSearchResultType类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: BeginSearch
public virtual IAsyncResult BeginSearch(string q, TwitterSearchResultType resultType)
{
return BeginWithHammock<TwitterSearchResult>(WebMethod.Get, "search", FormatAsString, "?q=", q, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例2: SearchSince
public virtual IAsyncResult SearchSince(long since_id, string q, int rpp, TwitterSearchResultType resultType, Action<TwitterSearchResult, TwitterResponse> action)
{
return WithHammock(action, "search", FormatAsString, "?since_id=", since_id, "&q=", q, "&rpp=", rpp, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例3: SearchBefore
public virtual IAsyncResult SearchBefore(long max_id, string q, int page, int rpp, TwitterSearchResultType resultType, Action<TwitterSearchResult, TwitterResponse> action)
{
return WithHammock(action, "search", FormatAsString, "?max_id=", max_id, "&q=", q, "&page=", page, "&rpp=", rpp, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例4: Search
public virtual IAsyncResult Search(string q, TwitterSearchResultType resultType, Action<TwitterSearchResult, TwitterResponse> action)
{
return WithHammock(action, "search", FormatAsString, "?q=", q, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例5: SearchSince
public virtual void SearchSince(long since_id, string q, int page, int rpp, TwitterSearchResultType resultType, string geocode, Action<TwitterSearchResult, TwitterResponse> action)
{
WithHammock(action, "search", FormatAsString, "?since_id=", since_id, "&q=", q, "&page=", page, "&rpp=", rpp, "&result_type=", resultType, "&geocode=", geocode);
}
开发者ID:phil-b-higgins,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例6: BeginSearch
public virtual IAsyncResult BeginSearch(string q, int page, int rpp, TwitterSearchResultType resultType, string geocode)
{
return BeginWithHammock<TwitterSearchResult>(WebMethod.Get, "search", FormatAsString, "?q=", q, "&page=", page, "&rpp=", rpp, "&result_type=", resultType, "&geocode=", geocode);
}
开发者ID:phil-b-higgins,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例7: GetRecentTweetsFromQuery
/// <summary>
///
/// </summary>
/// <param name="query"></param>
/// <param name="count"></param>
/// <param name="resultType"></param>
/// <returns></returns>
public IEnumerable<TwitterStatus> GetRecentTweetsFromQuery(String query, int count = 20, TwitterSearchResultType resultType = TwitterSearchResultType.Recent, string language = "eu")
{
return _twitterService.Search(new SearchOptions { Resulttype = resultType, Count = count, Q = query, Lang = language }).Statuses;
}
开发者ID:0xdeafcafe,项目名称:Yrs2013,代码行数:11,代码来源:Streamer.cs
示例8: Search
public virtual IAsyncResult Search(string q, int page, int rpp, TwitterSearchResultType resultType, string geocode, Action<TwitterSearchResult, TwitterResponse> action)
{
return WithHammock(action, "search", FormatAsString, "?q=", q, "&page=", page, "&rpp=", rpp, "&result_type=", resultType, "&geocode=", geocode);
}
开发者ID:phil-b-higgins,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例9: SearchBefore
public virtual TwitterSearchResult SearchBefore(long max_id, string q, TwitterSearchResultType resultType, string geocode)
{
return WithHammock<TwitterSearchResult>("search", FormatAsString, "?max_id=", max_id, "&q=", q, "&result_type=", resultType, "&geocode=", geocode);
}
开发者ID:phil-b-higgins,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例10: BeginSearchSince
public virtual IAsyncResult BeginSearchSince(long since_id, string q, int rpp, TwitterSearchResultType resultType)
{
return BeginWithHammock<TwitterSearchResult>(WebMethod.Get, "search", FormatAsString, "?since_id=", since_id, "&q=", q, "&rpp=", rpp, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
示例11: BeginSearchBefore
public virtual IAsyncResult BeginSearchBefore(long max_id, string q, int page, int rpp, TwitterSearchResultType resultType)
{
return BeginWithHammock<TwitterSearchResult>(WebMethod.Get, "search", FormatAsString, "?max_id=", max_id, "&q=", q, "&page=", page, "&rpp=", rpp, "&result_type=", resultType);
}
开发者ID:qisoft,项目名称:tweetsharp,代码行数:4,代码来源:TwitterService.generated.cs
注:本文中的TwitterSearchResultType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论