Permalink
Browse files

Nuget fixes for externals for each project and source files so projec…

…t will compile

Added Friendship/NoRetweetIDs
Added Friendship/Update
Modified Friendship/Relationship to not use TwitterUser and use specific relationship objects that include all the new properties.
Removed Trends/Current 
Added Trends/WOEID
Added Trends/Available
Added Trends/Daily
Added Trends/Weekly
Added SinceStatusId to Favorites
Added InReplyToStatusID to Search Results
  • Loading branch information...
GoldenTao GoldenTao
GoldenTao authored and GoldenTao committed Dec 13, 2011
1 parent 106fac1 commit 941d2aad6b1c1a905990319d89a12466a20e291d
Showing with 55,210 additions and 47 deletions.
  1. +15 −0 Packages.dgml
  2. +4 −0 Twitterizer.OAuth/Twitterizer.OAuth.csproj
  3. +4 −0 Twitterizer.OAuth/packages.config
  4. +6 −0 Twitterizer2.Async.Silverlight/Twitterizer2.Async.Silverlight.csproj
  5. +4 −0 Twitterizer2.Async.Silverlight/packages.config
  6. +183 −0 Twitterizer2.Async/TwitterFriendshipAsync.cs
  7. +453 −2 Twitterizer2.Async/TwitterTrendsAsync.cs
  8. +4 −0 Twitterizer2.Async/packages.config
  9. +37 −0 Twitterizer2.Silverlight/Twitterizer2.Silverlight.csproj
  10. +4 −0 Twitterizer2.Silverlight/packages.config
  11. +3 −0 Twitterizer2.Streaming.Silverlight/Twitterizer2.Streaming.Silverlight.csproj
  12. +4 −0 Twitterizer2.Streaming.Silverlight/packages.config
  13. +1 −1 Twitterizer2.TestCases/TwitterFriendshipTests.cs
  14. +1 −7 Twitterizer2.TestCases/Twitterizer2.TestCases.csproj
  15. +61 −0 Twitterizer2/Core/TwitterDictionary.cs
  16. +4 −1 Twitterizer2/Methods/Favorites/ListFavoritesCommand.cs
  17. +6 −0 Twitterizer2/Methods/Favorites/ListFavoritesOptions.cs
  18. +60 −0 Twitterizer2/Methods/Friendship/NoRetweetIDsCommand.cs
  19. +70 −0 Twitterizer2/Methods/Friendship/TwitterFriendship.cs
  20. +4 −4 Twitterizer2/Methods/Friendship/TwitterRelationship.cs
  21. +123 −0 Twitterizer2/Methods/Friendship/TwitterRelationshipUser.cs
  22. +137 −0 Twitterizer2/Methods/Friendship/UpdateFriendshipCommand.cs
  23. +68 −0 Twitterizer2/Methods/Friendship/UpdateFriendshipOptions.cs
  24. +7 −0 Twitterizer2/Methods/Search/TwitterSearchResult.cs
  25. +82 −0 Twitterizer2/Methods/Trends/AvailableTrendsCommand.cs
  26. +56 −0 Twitterizer2/Methods/Trends/AvailableTrendsOptions.cs
  27. +86 −0 Twitterizer2/Methods/Trends/DailyTrendsCommand.cs
  28. +51 −0 Twitterizer2/Methods/Trends/LocalTrendsOptions.cs
  29. +6 −5 Twitterizer2/Methods/Trends/TrendsCommand.cs
  30. +5 −6 Twitterizer2/Methods/Trends/TrendsOptions.cs
  31. +129 −5 Twitterizer2/Methods/Trends/TwitterTrend.cs
  32. +3 −3 Twitterizer2/Methods/Trends/TwitterTrendCollection.cs
  33. +152 −0 Twitterizer2/Methods/Trends/TwitterTrendDictionary.cs
  34. +30 −2 Twitterizer2/Methods/Trends/TwitterTrendLocation.cs
  35. +40 −2 Twitterizer2/Methods/Trends/TwitterTrendLocationCollection.cs
  36. +64 −0 Twitterizer2/Methods/Trends/TwitterTrendLocationPlaceType.cs
  37. +86 −0 Twitterizer2/Methods/Trends/WeeklyTrendsCommand.cs
  38. +14 −6 Twitterizer2/Twitterizer2.csproj
  39. +36 −0 Twitterizer2lite/Twitterizer2lite.csproj
  40. BIN packages/NUnit.2.5.10.11092/Logo.ico
  41. BIN packages/NUnit.2.5.10.11092/NUnit.2.5.10.11092.nupkg
  42. +277 −0 packages/NUnit.2.5.10.11092/NUnitFitTests.html
  43. +342 −0 packages/NUnit.2.5.10.11092/fit-license.txt
  44. BIN packages/NUnit.2.5.10.11092/lib/nunit.framework.dll
  45. +10,407 −0 packages/NUnit.2.5.10.11092/lib/nunit.framework.xml
  46. BIN packages/NUnit.2.5.10.11092/lib/nunit.mocks.dll
  47. BIN packages/NUnit.2.5.10.11092/lib/pnunit.framework.dll
  48. +15 −0 packages/NUnit.2.5.10.11092/license.txt
  49. +124 −0 packages/NUnit.2.5.10.11092/tools/NUnitTests.VisualState.xml
  50. +85 −0 packages/NUnit.2.5.10.11092/tools/NUnitTests.config
  51. +14 −0 packages/NUnit.2.5.10.11092/tools/NUnitTests.nunit
  52. +5,971 −0 packages/NUnit.2.5.10.11092/tools/TestResult.xml
  53. +4 −0 packages/NUnit.2.5.10.11092/tools/agent.conf
  54. +18 −0 packages/NUnit.2.5.10.11092/tools/agent.log.conf
  55. +18 −0 packages/NUnit.2.5.10.11092/tools/launcher.log.conf
  56. BIN packages/NUnit.2.5.10.11092/tools/lib/Failure.png
  57. BIN packages/NUnit.2.5.10.11092/tools/lib/Ignored.png
  58. BIN packages/NUnit.2.5.10.11092/tools/lib/Inconclusive.png
  59. BIN packages/NUnit.2.5.10.11092/tools/lib/Skipped.png
  60. BIN packages/NUnit.2.5.10.11092/tools/lib/Success.png
  61. BIN packages/NUnit.2.5.10.11092/tools/lib/fit.dll
  62. BIN packages/NUnit.2.5.10.11092/tools/lib/log4net.dll
  63. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit-console-runner.dll
  64. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit-gui-runner.dll
  65. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.core.dll
  66. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.core.interfaces.dll
  67. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.fixtures.dll
  68. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.uiexception.dll
  69. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.uikit.dll
  70. BIN packages/NUnit.2.5.10.11092/tools/lib/nunit.util.dll
  71. BIN packages/NUnit.2.5.10.11092/tools/nunit-agent-x86.exe
  72. +69 −0 packages/NUnit.2.5.10.11092/tools/nunit-agent-x86.exe.config
  73. BIN packages/NUnit.2.5.10.11092/tools/nunit-agent.exe
  74. +69 −0 packages/NUnit.2.5.10.11092/tools/nunit-agent.exe.config
  75. BIN packages/NUnit.2.5.10.11092/tools/nunit-console-x86.exe
  76. +69 −0 packages/NUnit.2.5.10.11092/tools/nunit-console-x86.exe.config
  77. BIN packages/NUnit.2.5.10.11092/tools/nunit-console.exe
  78. +69 −0 packages/NUnit.2.5.10.11092/tools/nunit-console.exe.config
  79. BIN packages/NUnit.2.5.10.11092/tools/nunit-x86.exe
  80. +83 −0 packages/NUnit.2.5.10.11092/tools/nunit-x86.exe.config
  81. BIN packages/NUnit.2.5.10.11092/tools/nunit.exe
  82. +83 −0 packages/NUnit.2.5.10.11092/tools/nunit.exe.config
  83. BIN packages/NUnit.2.5.10.11092/tools/nunit.framework.dll
  84. BIN packages/NUnit.2.5.10.11092/tools/pnunit-agent.exe
  85. +77 −0 packages/NUnit.2.5.10.11092/tools/pnunit-agent.exe.config
  86. BIN packages/NUnit.2.5.10.11092/tools/pnunit-launcher.exe
  87. +77 −0 packages/NUnit.2.5.10.11092/tools/pnunit-launcher.exe.config
  88. BIN packages/NUnit.2.5.10.11092/tools/pnunit.framework.dll
  89. BIN packages/NUnit.2.5.10.11092/tools/pnunit.tests.dll
  90. BIN packages/NUnit.2.5.10.11092/tools/runFile.exe
  91. +43 −0 packages/NUnit.2.5.10.11092/tools/runFile.exe.config
  92. +2 −0 packages/NUnit.2.5.10.11092/tools/runpnunit.bat
  93. +24 −0 packages/NUnit.2.5.10.11092/tools/test.conf
  94. BIN packages/Newtonsoft.Json.4.0.3/Newtonsoft.Json.4.0.3.nupkg
  95. BIN packages/Newtonsoft.Json.4.0.3/lib/net20/Newtonsoft.Json.dll
  96. BIN packages/Newtonsoft.Json.4.0.3/lib/net20/Newtonsoft.Json.pdb
  97. +7,859 −0 packages/Newtonsoft.Json.4.0.3/lib/net20/Newtonsoft.Json.xml
  98. BIN packages/Newtonsoft.Json.4.0.3/lib/net35/Newtonsoft.Json.dll
  99. BIN packages/Newtonsoft.Json.4.0.3/lib/net35/Newtonsoft.Json.pdb
  100. +6,982 −0 packages/Newtonsoft.Json.4.0.3/lib/net35/Newtonsoft.Json.xml
  101. BIN packages/Newtonsoft.Json.4.0.3/lib/net40/Newtonsoft.Json.dll
  102. BIN packages/Newtonsoft.Json.4.0.3/lib/net40/Newtonsoft.Json.pdb
  103. +7,141 −0 packages/Newtonsoft.Json.4.0.3/lib/net40/Newtonsoft.Json.xml
  104. BIN packages/Newtonsoft.Json.4.0.3/lib/sl3-wp/Newtonsoft.Json.dll
  105. BIN packages/Newtonsoft.Json.4.0.3/lib/sl3-wp/Newtonsoft.Json.pdb
  106. +6,574 −0 packages/Newtonsoft.Json.4.0.3/lib/sl3-wp/Newtonsoft.Json.xml
  107. BIN packages/Newtonsoft.Json.4.0.3/lib/sl4/Newtonsoft.Json.dll
  108. BIN packages/Newtonsoft.Json.4.0.3/lib/sl4/Newtonsoft.Json.pdb
  109. +6,604 −0 packages/Newtonsoft.Json.4.0.3/lib/sl4/Newtonsoft.Json.xml
  110. +7 −3 packages/repositories.config
View
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<DirectedGraph GraphDirection="LeftToRight" xmlns="http://schemas.microsoft.com/vs/2009/dgml">
<Nodes />
<Links />
<Categories>
<Category Id="Project" />
<Category Id="Package" />
</Categories>
<Styles>
<Style TargetType="Node" GroupLabel="Project" ValueLabel="True">
<Condition Expression="HasCategory('Project')" />
<Setter Property="Background" Value="Blue" />
</Style>
</Styles>
</DirectedGraph>
@@ -57,6 +57,9 @@
<AssemblyOriginatorKeyFile>..\Twitterizer2\Twitterizer2.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.4.0.3\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
@@ -113,6 +116,7 @@
<None Include="..\Twitterizer2\Twitterizer2.snk">
<Link>Twitterizer2.snk</Link>
</None>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="4.0.3" />
</packages>
@@ -48,6 +48,9 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
<Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.4.0.3\lib\sl4\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System.ServiceModel" />
<Reference Include="System.Windows" />
<Reference Include="system" />
@@ -119,6 +122,9 @@
<Name>Twitterizer2.Silverlight</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" />
<ProjectExtensions>
<VisualStudio>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="4.0.3" />
</packages>
@@ -306,5 +306,188 @@ public static IAsyncResult OutgoingRequests(OAuthTokens tokens, OutgoingFriendsh
},
null);
}
/// <summary>
/// Returns the numeric IDs for every user the specified user is does not want to see retweets from.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="options">The options.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult NoRetweetIDs(OAuthTokens tokens, OptionalProperties options, TimeSpan timeout, Action<TwitterAsyncResponse<UserIdCollection>> function)
{
Func<OAuthTokens, OptionalProperties, TwitterResponse<UserIdCollection>> methodToCall = TwitterFriendship.NoRetweetIDs;
return methodToCall.BeginInvoke(
tokens,
options,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<UserIdCollection>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
/// <summary>
/// Returns the numeric IDs for every user the specified user is does not want to see retweets from.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult NoRetweetIDs(OAuthTokens tokens, TimeSpan timeout, Action<TwitterAsyncResponse<UserIdCollection>> function)
{
Func<OAuthTokens, TwitterResponse<UserIdCollection>> methodToCall = TwitterFriendship.NoRetweetIDs;
return methodToCall.BeginInvoke(
tokens,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<UserIdCollection>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
/// <summary>
/// Updates the friendship.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="userid">The userid.</param>
/// <param name="options">The options.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult Update(OAuthTokens tokens, decimal userid, UpdateFriendshipOptions options, TimeSpan timeout, Action<TwitterAsyncResponse<TwitterRelationship>> function)
{
Func<OAuthTokens, decimal, UpdateFriendshipOptions, TwitterResponse<TwitterRelationship>> methodToCall = TwitterFriendship.Update;
return methodToCall.BeginInvoke(
tokens,
userid,
options,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<TwitterRelationship>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
/// <summary>
/// Returns the numeric IDs for every user the specified user is does not want to see retweets from.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="userid">The userid.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult Update(OAuthTokens tokens, decimal userid, TimeSpan timeout, Action<TwitterAsyncResponse<TwitterRelationship>> function)
{
Func<OAuthTokens, decimal, TwitterResponse<TwitterRelationship>> methodToCall = TwitterFriendship.Update;
return methodToCall.BeginInvoke(
tokens,
userid,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<TwitterRelationship>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
/// <summary>
/// Updates the friendship.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="screenname">The screenname.</param>
/// <param name="options">The options.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult Update(OAuthTokens tokens, string screenname, UpdateFriendshipOptions options, TimeSpan timeout, Action<TwitterAsyncResponse<TwitterRelationship>> function)
{
Func<OAuthTokens, string, UpdateFriendshipOptions, TwitterResponse<TwitterRelationship>> methodToCall = TwitterFriendship.Update;
return methodToCall.BeginInvoke(
tokens,
screenname,
options,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<TwitterRelationship>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
/// <summary>
/// Returns the numeric IDs for every user the specified user is does not want to see retweets from.
/// </summary>
/// <param name="tokens">The tokens.</param>
/// <param name="screenname">The screenname.</param>
/// <param name="timeout">The timeout.</param>
/// <param name="function">The function.</param>
/// <returns></returns>
public static IAsyncResult Update(OAuthTokens tokens, string screenname, TimeSpan timeout, Action<TwitterAsyncResponse<TwitterRelationship>> function)
{
Func<OAuthTokens, string, TwitterResponse<TwitterRelationship>> methodToCall = TwitterFriendship.Update;
return methodToCall.BeginInvoke(
tokens,
screenname,
result =>
{
result.AsyncWaitHandle.WaitOne(timeout);
try
{
function(methodToCall.EndInvoke(result).ToAsyncResponse());
}
catch (Exception ex)
{
function(new TwitterAsyncResponse<TwitterRelationship>() { Result = RequestResult.Unknown, ExceptionThrown = ex });
}
},
null);
}
}
}
Oops, something went wrong.

0 comments on commit 941d2aa

Please sign in to comment.