Skip to content

Commit f9e8be8

Browse files
committed
2.2.0 release
1 parent b1bedac commit f9e8be8

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

DynamicRestProxy.Portable/DynamicRestClient.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected override RestProxy CreateProxyNode(RestProxy parent, string name)
8888
}
8989

9090
/// <summary>
91-
/// <see cref="DynamicRestProxy.RestProxy.CreateVerbAsyncTask(string, IEnumerable{object}, IDictionary{string, object}, CancellationToken, JsonSerializerSettings)"/>
91+
/// <see cref="DynamicRestProxy.RestProxy.CreateVerbAsyncTask{T}(string, IEnumerable{object}, IEnumerable{KeyValuePair{string, object}}, CancellationToken, JsonSerializerSettings)"/>
9292
/// </summary>
9393
protected async override Task<T> CreateVerbAsyncTask<T>(string verb, IEnumerable<object> unnamedArgs, IEnumerable<KeyValuePair<string, object>> namedArgs, CancellationToken cancelToken, JsonSerializerSettings serializationSettings)
9494
{
@@ -170,6 +170,9 @@ private Uri CreateUri(HttpMethod method, IEnumerable<KeyValuePair<string, object
170170
return new Uri(builder.ToString(), UriKind.Relative);
171171
}
172172

173+
/// <summary>
174+
/// Disposes the contained HttpClient
175+
/// </summary>
173176
public void Dispose()
174177
{
175178
if (!_disposed && _httpClient != null && _disposeClient)

DynamicRestProxy.Portable/DynamicRestProxy.PortableHttpClient.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@
9191
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
9292
</Target>
9393
<PropertyGroup>
94-
<PostBuildEvent>xcopy "$(TargetPath)" "$(SolutionDir)NuGet.DynamicRestClient\lib" /r /y
95-
xcopy "$(TargetDir)*.xml" "$(SolutionDir)NuGet.DynamicRestClient\lib" /r /y</PostBuildEvent>
94+
<PostBuildEvent>if $(ConfigurationName) == Release xcopy "$(TargetPath)" "$(SolutionDir)NuGet.DynamicRestClient\lib" /r /y
95+
if $(ConfigurationName) == Release xcopy "$(TargetDir)*.xml" "$(SolutionDir)NuGet.DynamicRestClient\lib" /r /y</PostBuildEvent>
9696
</PropertyGroup>
9797
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
9898
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

DynamicRestProxy.Portable/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
// You can specify all the values or you can default the Build and Revision Numbers
2727
// by using the '*' as shown below:
2828
// [assembly: AssemblyVersion("1.0.*")]
29-
[assembly: AssemblyVersion("2.1.0.0")]
30-
[assembly: AssemblyFileVersion("2.1.0.0")]
29+
[assembly: AssemblyVersion("2.2.0.0")]
30+
[assembly: AssemblyFileVersion("2.2.0.0")]
3131
//[assembly: System.CLSCompliant(true)]
3232
[assembly: InternalsVisibleTo("DynamicRestProxy.PortableHttpClient.UnitTests")]
3333
[assembly:ComVisible(false)]

NuGet.DynamicRestClient/Package.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
<package >
33
<metadata>
44
<id>DynamicRestClient</id>
5-
<version>2.1.0</version>
5+
<version>2.2.0</version>
66
<title>Dynamic Rest Client</title>
77
<authors>dkackman</authors>
88
<owners></owners>
99
<description>
1010
A portable http rest client using dynamic objects for data transfer and endpoint url construction
1111
</description>
1212
<releaseNotes>
13-
Added static type deserialization
14-
option to pass JsonSerializationSettings to verb invocation methods
13+
Allow retreival of HttpResponseMessage
14+
Share HttpClient instance across endpoints created form the same root
1515
</releaseNotes>
1616
<summary>
1717
</summary>
Binary file not shown.

0 commit comments

Comments
 (0)