Skip to content

Commit 0f6e0de

Browse files
author
Caitlin Bales (MSFT)
authored
Merge pull request #100 from microsoftgraph/cbales-working
Clean up generator
2 parents fd9b29b + f50c9e6 commit 0f6e0de

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

Templates/CSharp/Requests/IMethodRequest.cs.tt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ namespace <#=method.Namespace.GetNamespaceName()#>
9090
/// <summary>
9191
/// Issues the POST request.
9292
/// </summary>
93-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
93+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
9494
<#
9595
if (returnsStream)
9696
{
9797
#>
98-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
98+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
9999
<#
100100
}
101101
#>
@@ -133,12 +133,12 @@ namespace <#=method.Namespace.GetNamespaceName()#>
133133
/// <summary>
134134
/// Issues the GET request.
135135
/// </summary>
136-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
136+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
137137
<#
138138
if (returnsStream)
139139
{
140140
#>
141-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
141+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
142142
<#
143143
}
144144
#>
@@ -171,20 +171,20 @@ namespace <#=method.Namespace.GetNamespaceName()#>
171171
/// <summary>
172172
/// Issues the PATCH request.
173173
/// </summary>
174-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object set with the properties to update.</param>
174+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object set with the properties to update.</param>
175175
/// <returns>The task to await for async call.</returns>
176176
<#=methodReturnType#> PatchAsync(<#=returnEntityType#> <#=returnEntityParameter#>);
177177

178178
/// <summary>
179179
/// Issues the PATCH request.
180180
/// </summary>
181-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object set with the properties to update.</param>
182-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
181+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object set with the properties to update.</param>
182+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
183183
<#
184184
if (returnsStream)
185185
{
186186
#>
187-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
187+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
188188
<#
189189
}
190190
#>
@@ -216,20 +216,20 @@ namespace <#=method.Namespace.GetNamespaceName()#>
216216
/// <summary>
217217
/// Issues the PUT request.
218218
/// </summary>
219-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object to update.</param>
219+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object to update.</param>
220220
/// <returns>The task to await for async call.</returns>
221221
<#=methodReturnType#> PutAsync(<#=returnEntityType#> <#=returnEntityParameter#>);
222222

223223
/// <summary>
224224
/// Issues the PUT request.
225225
/// </summary>
226-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object to update.</param>
227-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
226+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object to update.</param>
227+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
228228
<#
229229
if (returnsStream)
230230
{
231231
#>
232-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
232+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
233233
<#
234234
}
235235
#>

Templates/CSharp/Requests/MethodRequest.cs.tt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ namespace <#=method.Namespace.GetNamespaceName()#>
105105
/// <summary>
106106
/// Issues the POST request.
107107
/// </summary>
108-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
108+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
109109
<#
110110
if (returnsStream)
111111
{
112112
#>
113-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
113+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
114114
<#
115115
}
116116
#>
@@ -205,12 +205,12 @@ namespace <#=method.Namespace.GetNamespaceName()#>
205205
/// <summary>
206206
/// Issues the GET request.
207207
/// </summary>
208-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
208+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
209209
<#
210210
if (returnsStream)
211211
{
212212
#>
213-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
213+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
214214
<#
215215
}
216216
#>
@@ -296,7 +296,7 @@ namespace <#=method.Namespace.GetNamespaceName()#>
296296
/// <summary>
297297
/// Issues the PATCH request.
298298
/// </summary>
299-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object set with the properties to update.</param>
299+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object set with the properties to update.</param>
300300
/// <returns>The task to await for async call.</returns>
301301
public <#=methodReturnType#> PatchAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
302302
{
@@ -306,13 +306,13 @@ namespace <#=method.Namespace.GetNamespaceName()#>
306306
/// <summary>
307307
/// Issues the PATCH request.
308308
/// </summary>
309-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object set with the properties to update.</param>
310-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
309+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object set with the properties to update.</param>
310+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
311311
<#
312312
if (returnsStream)
313313
{
314314
#>
315-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
315+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
316316
<#
317317
}
318318
#>
@@ -397,7 +397,7 @@ namespace <#=method.Namespace.GetNamespaceName()#>
397397
/// <summary>
398398
/// Issues the PUT request.
399399
/// </summary>
400-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object to update.</param>
400+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object to update.</param>
401401
/// <returns>The task to await for async call.</returns>
402402
public <#=methodReturnType#> PutAsync(<#=returnEntityType#> <#=returnEntityParameter#>)
403403
{
@@ -407,13 +407,13 @@ namespace <#=method.Namespace.GetNamespaceName()#>
407407
/// <summary>
408408
/// Issues the PUT request.
409409
/// </summary>
410-
/// <param name=<#=returnEntityParameter#>>The <#=returnEntityType#> object to update.</param>
411-
/// <param name=""cancellationToken"">The <see cref=""CancellationToken""/> for the request.</param>
410+
/// <param name="<#=returnEntityParameter#>">The <#=returnEntityType#> object to update.</param>
411+
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
412412
<#
413413
if (returnsStream)
414414
{
415415
#>
416-
/// <param name=""httpCompletionOption"">The <see cref=""HttpCompletionOption""/> for the request.</param>
416+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
417417
<#
418418
}
419419
#>

0 commit comments

Comments
 (0)