Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions RestSharp.WindowsPhone8/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("RestSharp.WindowsPhone")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("edd38716-2ef8-46c4-8730-c4ed8bc12eed")]
348 changes: 348 additions & 0 deletions RestSharp.WindowsPhone8/RestSharp.WindowsPhone8.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,348 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.20506</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{71647E33-714F-4975-8368-71B075045272}</ProjectGuid>
<ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RestSharp.WindowsPhone</RootNamespace>
<AssemblyName>RestSharp.WindowsPhone</AssemblyName>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<SilverlightVersion>
</SilverlightVersion>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier>
<SilverlightApplication>false</SilverlightApplication>
<ValidateXaml>true</ValidateXaml>
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Bin\Debug</OutputPath>
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO;WP8</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>
</DocumentationFile>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>Bin\Release</OutputPath>
<DefineConstants>TRACE;WINDOWS_PHONE;MANGO;WP8</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>
</DocumentationFile>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>Bin\x86\Debug</OutputPath>
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO</DefineConstants>
<DocumentationFile>Bin\Debug\RestSharp.WindowsPhone.xml</DocumentationFile>
<NoStdLib>true</NoStdLib>
<DebugType>full</DebugType>
<PlatformTarget>
</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>Bin\x86\Release</OutputPath>
<DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>
</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>Bin\ARM\Debug</OutputPath>
<DefineConstants>TRACE;DEBUG;WINDOWS_PHONE;MANGO</DefineConstants>
<DocumentationFile>Bin\Debug\RestSharp.WindowsPhone.xml</DocumentationFile>
<NoStdLib>true</NoStdLib>
<DebugType>full</DebugType>
<PlatformTarget>
</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM'">
<OutputPath>Bin\ARM\Release</OutputPath>
<DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
<DocumentationFile>Bin\Release\RestSharp.WindowsPhone.xml</DocumentationFile>
<Optimize>true</Optimize>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>
</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\RestSharp.Net4\Extensions\ResponseStatusExtensions.cs">
<Link>Extensions\ResponseStatusExtensions.cs</Link>
</Compile>
<Compile Include="..\restsharp\authenticators\HttpBasicAuthenticator.cs">
<Link>Authenticators\HttpBasicAuthenticator.cs</Link>
</Compile>
<Compile Include="..\restsharp\authenticators\IAuthenticator.cs">
<Link>Authenticators\IAuthenticator.cs</Link>
</Compile>
<Compile Include="..\restsharp\authenticators\NtlmAuthenticator.cs">
<Link>Authenticators\NtlmAuthenticator.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth1Authenticator.cs">
<Link>Authenticators\OAuth1Authenticator.cs</Link>
</Compile>
<Compile Include="..\restsharp\authenticators\OAuth2Authenticator.cs">
<Link>Authenticators\OAuth2Authenticator.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\CollectionExtensions.cs">
<Link>Authenticators\OAuth\Extensions\CollectionExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\OAuthExtensions.cs">
<Link>Authenticators\OAuth\Extensions\OAuthExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\StringExtensions.cs">
<Link>Authenticators\OAuth\Extensions\StringExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\Extensions\TimeExtensions.cs">
<Link>Authenticators\OAuth\Extensions\TimeExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\HttpPostParameter.cs">
<Link>Authenticators\OAuth\HttpPostParameter.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\HttpPostParameterType.cs">
<Link>Authenticators\OAuth\HttpPostParameterType.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthParameterHandling.cs">
<Link>Authenticators\OAuth\OAuthParameterHandling.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthSignatureMethod.cs">
<Link>Authenticators\OAuth\OAuthSignatureMethod.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthSignatureTreatment.cs">
<Link>Authenticators\OAuth\OAuthSignatureTreatment.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthTools.cs">
<Link>Authenticators\OAuth\OAuthTools.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthType.cs">
<Link>Authenticators\OAuth\OAuthType.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthWebQueryInfo.cs">
<Link>Authenticators\OAuth\OAuthWebQueryInfo.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\OAuthWorkflow.cs">
<Link>Authenticators\OAuth\OAuthWorkflow.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\WebPair.cs">
<Link>Authenticators\OAuth\WebPair.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\WebPairCollection.cs">
<Link>Authenticators\OAuth\WebPairCollection.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\WebParameter.cs">
<Link>Authenticators\OAuth\WebParameter.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Authenticators\OAuth\WebParameterCollection.cs">
<Link>Authenticators\OAuth\WebParameterCollection.cs</Link>
</Compile>
<Compile Include="..\restsharp\authenticators\SimpleAuthenticator.cs">
<Link>Authenticators\SimpleAuthenticator.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\Crc32.cs">
<Link>Compression\ZLib\Crc32.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\FlushType.cs">
<Link>Compression\ZLib\FlushType.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\GZipStream.cs">
<Link>Compression\ZLib\GZipStream.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\Inflate.cs">
<Link>Compression\ZLib\Inflate.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\InfTree.cs">
<Link>Compression\ZLib\InfTree.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\ZLib.cs">
<Link>Compression\ZLib\ZLib.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\ZLibCodec.cs">
<Link>Compression\ZLib\ZLibCodec.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\ZLibConstants.cs">
<Link>Compression\ZLib\ZLibConstants.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Compression\ZLib\ZLibStream.cs">
<Link>Compression\ZLib\ZLibStream.cs</Link>
</Compile>
<Compile Include="..\restsharp\deserializers\DeserializeAsAttribute.cs">
<Link>Deserializers\DeserializeAsAttribute.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Deserializers\DotNetXmlDeserializer.cs">
<Link>Deserializers\DotNetXmlDeserializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\deserializers\IDeserializer.cs">
<Link>Deserializers\IDeserializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\deserializers\JsonDeserializer.cs">
<Link>Deserializers\JsonDeserializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\deserializers\XmlAttributeDeserializer.cs">
<Link>Deserializers\XmlAttributeDeserializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\deserializers\XmlDeserializer.cs">
<Link>Deserializers\XmlDeserializer.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Enum.cs">
<Link>Enum.cs</Link>
</Compile>
<Compile Include="..\restsharp\extensions\MiscExtensions.cs">
<Link>Extensions\MiscExtensions.cs</Link>
</Compile>
<Compile Include="..\restsharp\extensions\ReflectionExtensions.cs">
<Link>Extensions\ReflectionExtensions.cs</Link>
</Compile>
<Compile Include="..\restsharp\extensions\StringExtensions.cs">
<Link>Extensions\StringExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Extensions\ResponseExtensions.cs">
<Link>Extensions\ResponseExtensions.cs</Link>
</Compile>
<Compile Include="..\restsharp\extensions\XmlExtensions.cs">
<Link>Extensions\XmlExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\FileParameter.cs">
<Link>FileParameter.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Http.Async.cs">
<Link>Http.Async.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Http.cs">
<Link>Http.cs</Link>
</Compile>
<Compile Include="..\RestSharp\HttpCookie.cs">
<Link>HttpCookie.cs</Link>
</Compile>
<Compile Include="..\RestSharp\HttpFile.cs">
<Link>HttpFile.cs</Link>
</Compile>
<Compile Include="..\RestSharp\HttpHeader.cs">
<Link>HttpHeader.cs</Link>
</Compile>
<Compile Include="..\RestSharp\HttpParameter.cs">
<Link>HttpParameter.cs</Link>
</Compile>
<Compile Include="..\RestSharp\HttpResponse.cs">
<Link>HttpResponse.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IHttp.cs">
<Link>IHttp.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IHttpFactory.cs">
<Link>IHttpFactory.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IHttpResponse.cs">
<Link>IHttpResponse.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IRestClient.cs">
<Link>IRestClient.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IRestRequest.cs">
<Link>IRestRequest.cs</Link>
</Compile>
<Compile Include="..\RestSharp\IRestResponse.cs">
<Link>IRestResponse.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Parameter.cs">
<Link>Parameter.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestClient.Async.cs">
<Link>RestClient.Async.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestClient.cs">
<Link>RestClient.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestClientExtensions.cs">
<Link>RestClientExtensions.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestRequest.cs">
<Link>RestRequest.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestResponse.cs">
<Link>RestResponse.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestResponseCookie.cs">
<Link>RestResponseCookie.cs</Link>
</Compile>
<Compile Include="..\RestSharp\Serializers\DotNetXmlSerializer.cs">
<Link>Serializers\DotNetXmlSerializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\serializers\ISerializer.cs">
<Link>Serializers\ISerializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\serializers\JsonSerializer.cs">
<Link>Serializers\JsonSerializer.cs</Link>
</Compile>
<Compile Include="..\restsharp\serializers\SerializeAsAttribute.cs">
<Link>Serializers\SerializeAsAttribute.cs</Link>
</Compile>
<Compile Include="..\restsharp\serializers\XmlSerializer.cs">
<Link>Serializers\XmlSerializer.cs</Link>
</Compile>
<Compile Include="..\RestSharp\SharedAssemblyInfo.cs">
<Link>SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\RestSharp\SimpleJson.cs">
<Link>SimpleJson.cs</Link>
</Compile>
<Compile Include="..\restsharp\validation\Require.cs">
<Link>Validation\Require.cs</Link>
</Compile>
<Compile Include="..\restsharp\validation\Validate.cs">
<Link>Validation\Validate.cs</Link>
</Compile>
<Compile Include="..\RestSharp\RestRequestAsyncHandle.cs">
<Link>RestRequestAsyncHandle.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).CSharp.targets" />
<ProjectExtensions />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
3 changes: 3 additions & 0 deletions RestSharp.WindowsPhone8/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
</packages>
4 changes: 2 additions & 2 deletions RestSharp/IRestClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
using System.Net;
using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
#if NET4 || MONODROID || MONOTOUCH
#if NET4 || MONODROID || MONOTOUCH || WP8
using System.Threading;
using System.Threading.Tasks;
#endif
Expand Down Expand Up @@ -133,7 +133,7 @@ public interface IRestClient
IRestResponse<T> ExecuteAsPost<T>(IRestRequest request, string httpMethod) where T : new();
#endif

#if NET4 || MONODROID || MONOTOUCH
#if NET4 || MONODROID || MONOTOUCH || WP8
/// <summary>
/// Executes the request and callback asynchronously, authenticating if needed
/// </summary>
Expand Down
Loading