Skip to content
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

Project structure refactoring #48

Merged
merged 4 commits into from
Nov 1, 2020
Merged

Conversation

Ceridan
Copy link
Contributor

@Ceridan Ceridan commented Nov 1, 2020

Project structure refactoring:
[*] Rename folders to avoid name clashes between namespace and target class, ex: RetryPolicySettings.
[*] Adjust namespaces.
[*] Rename private static readonly methods thus they are now camel-case according to style guides (Rider gives same advice).
[+] Return back AddDefaultPolicies and rename it to AddResiliencePolicies according to #45.
[*] Refactor policies methods, now we should pass ResiliencePoliciesSettings as an argument instead of Action<ResiliencePoliciesSettings>.
[+] Separate code for policies and code for clients.
[*] TimeoutSettings.Timeout property is now readonly and filled from the constructor. This is done for the settings unification.

Closes #45.

Now it follows correct naming pattern "{Any additional information}{Extended type}Extensions"
@Ceridan Ceridan merged commit 02d42e9 into milestone/v2.0.0 Nov 1, 2020
@Ceridan Ceridan deleted the refactoring-structure branch November 1, 2020 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants