facebook-csharp-sdk/facebook-csharp-sdk — pull request #145 by jeffmcarthur (2012-04-01 00:39:21+00:00)
Title: Added an Interface to FacebookClient

I created the following files:

* IFacebookClient.Async.cs
* IFacebookClient.Async.Tasks.cs
* IFacebookClient.Batch.Async.cs
* IFacebookClient.Batch.Async.Tasks.cs
* IFacebookClient.Batch.Sync.cs
* IFacebookClient.cs
* IFacebookClient.OAuthResult.cs
* IFacebookClient.SignedRequest.cs
* IFacebookClient.Sync.cs

I then modified the following to implement the IFacebookClient

* FacebookClient.Async.cs
* FacebookClient.Async.Tasks.cs
* FacebookClient.Batch.Async.cs
* FacebookClient.Batch.Async.Tasks.cs
* FacebookClient.Batch.Sync.cs
* FacebookClient.cs
* FacebookClient.OAuthResult.cs
* FacebookClient.SignedRequest.cs
* FacebookClient.Sync.cs

I modifed the following projects to include the new files:

* Facebook-Net35.csproj
* Facebook-Net40.csproj
* Facebook-Net45.csproj
* Facebook-SL5.csproj
* Facebook-WinRT.csproj
* Facebook-WP7.csproj

All compile via rake except WP7. This generates the following error:

"C:\SpiderMonkeyTech\CSharp\facebook-csharp-sdk\Source\Facebook-WP7.sln" (Build
target) (1) ->
"C:\SpiderMonkeyTech\CSharp\facebook-csharp-sdk\Source\Facebook\Facebook-WP7.cs
proj" (default target) (2) ->
(CoreCompile target) ->
HttpHelper.cs(1320,22): error CS0234: The type or namespace name 'HttpUtility
' does not exist in the namespace 'System.Net' (are you missing an assembly ref
erence?) [C:\SpiderMonkeyTech\CSharp\facebook-csharp-sdk\Source\Facebook\Facebo
ok-WP7.csproj]
HttpHelper.cs(1732,22): error CS0234: The type or namespace name 'HttpUtility
' does not exist in the namespace 'System.Net' (are you missing an assembly ref
erence?) [C:\SpiderMonkeyTech\CSharp\facebook-csharp-sdk\Source\Facebook\Facebo
ok-WP7.csproj]

All 49 test pass running rake build:tests