Skip to content

Commit e80e850

Browse files
Update version for next release, misc code reformatting
1 parent 8a1093b commit e80e850

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

NScrape/IWebClient.cs

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,39 @@
11
using System;
22
using System.Net;
33

4-
namespace NScrape
5-
{
6-
/// <summary>
7-
/// Represents a web client that handles cookies and redirection.
8-
/// </summary>
9-
public interface IWebClient
10-
{
11-
/// <include file='IWebClient.xml' path='/IWebClient/AddingCookie/*'/>
4+
namespace NScrape {
5+
/// <summary>
6+
/// Represents a web client that handles cookies and redirection.
7+
/// </summary>
8+
public interface IWebClient {
9+
/// <include file='IWebClient.xml' path='/IWebClient/AddingCookie/*'/>
1210
event EventHandler<AddingCookieEventArgs> AddingCookie;
1311

14-
/// <include file='IWebClient.xml' path='/IWebClient/SendingRequest/*'/>
15-
event EventHandler<SendingRequestEventArgs> SendingRequest;
12+
/// <include file='IWebClient.xml' path='/IWebClient/SendingRequest/*'/>
13+
event EventHandler<SendingRequestEventArgs> SendingRequest;
1614

17-
/// <include file='IWebClient.xml' path='/IWebClient/ProcessingResponse/*'/>
18-
event EventHandler<ProcessingResponseEventArgs> ProcessingResponse;
15+
/// <include file='IWebClient.xml' path='/IWebClient/ProcessingResponse/*'/>
16+
event EventHandler<ProcessingResponseEventArgs> ProcessingResponse;
1917

20-
/// <include file='IWebClient.xml' path='/IWebClient/CookieJar/*'/>
21-
CookieContainer CookieJar { get; }
18+
/// <include file='IWebClient.xml' path='/IWebClient/CookieJar/*'/>
19+
CookieContainer CookieJar { get; }
2220

2321
/// <include file='IWebClient.xml' path='/IWebClient/SendRequest_Uri/*'/>
24-
WebResponse SendRequest(Uri destination);
22+
WebResponse SendRequest( Uri destination );
2523
/// <include file='IWebClient.xml' path='/IWebClient/SendRequest_Uri_bool/*'/>
26-
WebResponse SendRequest(Uri destination, bool autoRedirect);
24+
WebResponse SendRequest( Uri destination, bool autoRedirect );
2725

2826
/// <include file='IWebClient.xml' path='/IWebClient/SendRequest_Uri_string/*'/>
29-
WebResponse SendRequest(Uri destination, string requestData);
27+
WebResponse SendRequest( Uri destination, string requestData );
3028

3129
/// <include file='IWebClient.xml' path='/IWebClient/SendRequest_Uri_string_bool/*'/>
32-
WebResponse SendRequest(Uri destination, string requestData, bool autoRedirect);
30+
WebResponse SendRequest( Uri destination, string requestData, bool autoRedirect );
3331

3432
/// <include file='IWebClient.xml' path='/IWebClient/SendRequest_WebRequest/*'/>
35-
WebResponse SendRequest(WebRequest webRequest);
33+
WebResponse SendRequest( WebRequest webRequest );
3634

3735
/// <include file='IWebClient.xml' path='/IWebClient/UserAgent/*'/>
38-
string UserAgent { get; set; }
39-
}
36+
string UserAgent { get; set; }
37+
}
4038
}
4139

NScrape/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
// Build Number
3131
// Revision
3232
//
33-
[assembly: AssemblyFileVersion( "0.1.0.0" )]
34-
[assembly: AssemblyInformationalVersion( "0.1.0.0" )]
35-
[assembly: AssemblyVersion( "0.1.0.0" )]
33+
[assembly: AssemblyFileVersion( "0.2.0.0" )]
34+
[assembly: AssemblyInformationalVersion( "0.2.0.0" )]
35+
[assembly: AssemblyVersion( "0.2.0.0" )]

0 commit comments

Comments
 (0)