Skip to content

Commit 8415457

Browse files
committed
Add XML Summary For PerformAsync and remove dupilcate comment code
1 parent 0276e10 commit 8415457

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

src/dotnet/Lucene.Net.Replicator.AspNetCore/AspNetCoreReplicationServiceExtentions.cs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,18 @@ public static class AspNetCoreReplicationServiceExtentions
2929
/// <summary>
3030
/// Extension method that mirrors the signature of <see cref="IReplicationService.Perform"/> using AspNetCore as implementation.
3131
/// </summary>
32-
// public static void Perform(this IReplicationService self, HttpRequest request, HttpResponse response)
33-
// {
34-
// self.Perform(new AspNetCoreReplicationRequest(request), new AspNetCoreReplicationResponse(response));
35-
// }
3632
public static void Perform(this IReplicationService self, HttpRequest request, HttpResponse response)
3733
{
3834
self.Perform(new AspNetCoreReplicationRequest(request), new AspNetCoreReplicationResponse(response));
3935
}
40-
36+
/// <summary>
37+
/// Extension method that mirrors the signature of <see cref="IReplicationService.PerformAsync"/> using AspNetCore as implementation.
38+
/// </summary>
4139
public static async Task PerformAsync(
42-
this IReplicationService self,
43-
HttpRequest request,
44-
HttpResponse response,
45-
CancellationToken cancellationToken = default)
40+
this IReplicationService self,
41+
HttpRequest request,
42+
HttpResponse response,
43+
CancellationToken cancellationToken = default)
4644
{
4745
await self.PerformAsync(
4846
new AspNetCoreReplicationRequest(request),

0 commit comments

Comments
 (0)