-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate the first half of the async demos #46
Migrate the first half of the async demos #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few minor comments that repeat across a number of files.
PollyDemos/Async/AsyncDemo05_WaitAndRetryWithExponentialBackoff.cs
Outdated
Show resolved
Hide resolved
protected int totalRequests; | ||
protected int eventualSuccesses; | ||
protected int eventualFailures; | ||
protected int retries; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make these properties with PascalCase
naming.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you don't mind I would do that renaming as a separate PR after all sync and async demos under the Polly.Demos are migrated.
PollyDemos/Async/AsyncDemo05_WaitAndRetryWithExponentialBackoff.cs
Outdated
Show resolved
Hide resolved
PollyDemos/Async/AsyncDemo05_WaitAndRetryWithExponentialBackoff.cs
Outdated
Show resolved
Hide resolved
…f.cs Co-authored-by: Martin Costello <[email protected]>
Description
SyncDemo
toDemoBase