Skip to content

Public HttpResponse class#28

Merged
aliakb merged 7 commits intodevfrom
unknown repository
Mar 27, 2012
Merged

Public HttpResponse class#28
aliakb merged 7 commits intodevfrom
unknown repository

Conversation

@aliakb
Copy link

@aliakb aliakb commented Mar 26, 2012

No description provided.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this indententation and comment format normal ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It's 4 spaces per tabulation.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? Dont you have to do field comments like the others bellow?

Sent from a phone

On 27/03/2012, at 09:24, "Aliaksei Baturytski" reply@reply.github.com wrote:

+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+using System.Threading.Tasks;
+using NetHttpMethod = System.Net.Http.HttpMethod;
+using NetHttpRequestMessage = System.Net.Http.HttpRequestMessage;
+
+namespace Microsoft.WindowsAzure.ServiceLayer.Http
+{

  • ///

  • /// Represents an HTTP request.

  • ///

  • public sealed class HttpRequest

  • {

  •    private NetHttpMethod _method;                      // HTTP method verb.
    

Yes. It's 4 spaces per tabulation.


Reply to this email directly or view it on GitHub:
https://github.com/WindowsAzure/azure-sdk-for-net/pull/28/files#r609928

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. This is a private member visible only to the class members; it won't be included into any autogenerated documentation. Adding a standard header here would be an overkill.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see... but I actually think it'd be just more consistent... This sort of comment for attributes seems weird / harder to read, wouldn't you agree ? If we're not using standard, might as well not include any at all... (but i'd still prefer the standard format :))


From: Aliaksei Baturytski [reply@reply.github.com]
Sent: Tuesday, March 27, 2012 9:36
To: André Rodrigues
Subject: Re: [azure-sdk-for-net] Public HttpResponse class (#28)

+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+using System.Threading.Tasks;
+using NetHttpMethod = System.Net.Http.HttpMethod;
+using NetHttpRequestMessage = System.Net.Http.HttpRequestMessage;
+
+namespace Microsoft.WindowsAzure.ServiceLayer.Http
+{

  • ///

  • /// Represents an HTTP request.

  • ///

  • public sealed class HttpRequest

  • {

  •    private NetHttpMethod _method;                      // HTTP method verb.
    

Got it. This is a private member visible only to the class members; it won't be included into any autogenerated documentation. Adding a standard header here would be an overkill.


Reply to this email directly or view it on GitHub:
https://github.com/WindowsAzure/azure-sdk-for-net/pull/28/files#r610008

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is valid from C# point of view, and here it represents just a note that I put for a future reader of this text. I don't thik we should go that far to declare strict rules on such minor things.

Aliaksei Baturytski added 2 commits March 27, 2012 09:42
aliakb pushed a commit that referenced this pull request Mar 27, 2012
Public HttpRequest class
@aliakb aliakb merged commit e3b3993 into Azure:dev Mar 27, 2012
huangpf added a commit that referenced this pull request Jun 20, 2015
yugangw-msft pushed a commit that referenced this pull request Jul 9, 2015
contracts for vault, and operation status
AlexGhiondea pushed a commit to AlexGhiondea/azure-sdk-for-net that referenced this pull request Feb 12, 2019
* 3 live tests

* PR feedback
AlexGhiondea pushed a commit to AlexGhiondea/azure-sdk-for-net that referenced this pull request Feb 12, 2019
* cleanup

* fixed a bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants