Skip to content

Commit e40f9e3

Browse files
committed
update C# samples
1 parent 7f40ce0 commit e40f9e3

File tree

1 file changed

+2
-2
lines changed
  • samples/client/petstore/csharp/restsharp/net8/useVirtualForHooks/src/Org.OpenAPITools/Client

1 file changed

+2
-2
lines changed

samples/client/petstore/csharp/restsharp/net8/useVirtualForHooks/src/Org.OpenAPITools/Client/RetryConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ public static class RetryConfiguration
2121
/// <summary>
2222
/// Retry policy
2323
/// </summary>
24-
public static Policy<RestResponse> RetryPolicy { get; set; }
24+
public static ISyncPolicy<RestResponse> RetryPolicy { get; set; }
2525

2626
/// <summary>
2727
/// Async retry policy
2828
/// </summary>
29-
public static AsyncPolicy<RestResponse> AsyncRetryPolicy { get; set; }
29+
public static IAsyncPolicy<RestResponse> AsyncRetryPolicy { get; set; }
3030
}
3131
}

0 commit comments

Comments
 (0)