You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Open `csharp-http-client/CSharpHTTPClient/CSharpHTTPClient.sln`
68
68
69
69
##### Execute: #####
70
70
71
-
SSee the [Example project](https://github.com/sendgrid/csharp-http-client/tree/master/Example) to get started quickly.
71
+
SSee the [Example project](Example) to get started quickly.
72
72
73
73
<aname="understanding-the-codebase"></a>
74
74
## Understanding the Code Base
@@ -79,20 +79,20 @@ Working examples that demonstrate usage.
79
79
80
80
**/CSharpHTTPClient/Client.cs**
81
81
82
-
An HTTP client with a fluent interface using method chaining and reflection. By returning a new object on [TryGetMember](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L191) and [_()](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L180), we can dynamically build the URL using method chaining and [TryGetMember](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L191) allows us to dynamically receive the method calls to achieve reflection.
82
+
An HTTP client with a fluent interface using method chaining and reflection. By returning a new object on [TryGetMember](CSharpHTTPClient/Client.cs#L191) and [_()](CSharpHTTPClient/Client.cs#L180), we can dynamically build the URL using method chaining and [TryGetMember](CSharpHTTPClient/Client.cs#L191) allows us to dynamically receive the method calls to achieve reflection.
83
83
84
84
This allows for the following mapping from a URL to a method chain:
85
85
86
-
`/api_client/{api_key_id}/version` maps to `client.api_client._(api_key_id).version.<method>()` where <method> is a supported [Method](https://github.com/sendgrid/csharp-http-client/blob/master/CSharpHTTPClient/Client.cs#L71).
86
+
`/api_client/{api_key_id}/version` maps to `client.api_client._(api_key_id).version.<method>()` where <method> is a supported [Method](CSharpHTTPClient/Client.cs#L71).
87
87
88
88
<aname="testing"></a>
89
89
## Testing
90
90
91
91
All PRs require passing tests before the PR will be reviewed.
92
92
93
-
All test files are in the [`UnitTest`](https://github.com/sendgrid/csharp-http-client/tree/master/UnitTest) directory.
93
+
All test files are in the [`UnitTest`](UnitTest) directory.
94
94
95
-
For the purposes of contributing to this repo, please update the [`UnitTest.cs`](https://github.com/sendgrid/csharp-http-client/blob/master/UnitTest/UnitTest.cs) file with unit tests as you modify the code.
95
+
For the purposes of contributing to this repo, please update the [`UnitTest.cs`](UnitTest/UnitTest.cs) file with unit tests as you modify the code.
96
96
97
97
From the Visual Studio menu: `Tests->Run->All Tests`
98
98
@@ -153,7 +153,7 @@ Generally, we follow the style guidelines as suggested by the official language.
153
153
```
154
154
155
155
7.[Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
156
-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
156
+
with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
157
157
158
158
## Code Reviews<aname="code-reviews"></a>
159
159
If you can, please look at open PRs and review them. Give feedback and help us merge these PRs much faster! If you don't know how, Github has some <ahref="https://help.github.com/articles/about-pull-request-reviews/">great information on how to review a Pull Request.</a>
8.__[Open a Pull Request](https://help.github.com/articles/creating-a-pull-request/#changing-the-branch-range-and-destination-repository/)__
52
-
with a clear title and description against the `master` branch. All tests must be passing before we will review the PR.
52
+
with a clear title and description against the `main` branch. All tests must be passing before we will review the PR.
53
53
### Important notice
54
54
Before creating a pull request, make sure that you respect the repository's constraints regarding contributions. You can find them in the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
55
55
## Repositories with Open, Easy, Help Wanted, Issue Filters
Once you have the library properly referenced in your project, you can include calls to them in your code.
48
-
For a sample implementation, check the [Example](https://github.com/sendgrid/csharp-http-client/tree/master/Example) folder.
48
+
For a sample implementation, check the [Example](Example) folder.
49
49
50
50
Add the following namespace to use the library:
51
51
```csharp
@@ -101,13 +101,13 @@ If you are interested in the future direction of this project, please take a loo
101
101
<aname="contribute"></a>
102
102
# How to Contribute
103
103
104
-
We encourage contribution to our projects, please see our [CONTRIBUTING](https://github.com/sendgrid/csharp-http-client/blob/master/CONTRIBUTING.md) guide for details.
104
+
We encourage contribution to our projects, please see our [CONTRIBUTING](CONTRIBUTING.md) guide for details.
0 commit comments