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

Add LifeCycle to FluxorOptions and use in registration #287

Merged

Conversation

bradtwurst
Copy link
Contributor

No description provided.

…cle value when registering fluxor components
@bradtwurst
Copy link
Contributor Author

addresses #280

@bradtwurst bradtwurst marked this pull request as ready for review April 6, 2022 20:40
@mrpmorris mrpmorris changed the base branch from master to release/5.2 April 6, 2022 21:43
Copy link
Owner

@mrpmorris mrpmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good so far, thank you very much!
PS: Please note I have rebased on release/5.2

* AddRegistration renamed to Add
* consolidated Add extension methods into IServiceCollectionExtensions.cs
* rename RegistrationLifecycle to StoreLifetime and made a public property
* currently left the SetStoreLifetime method in Options -- awaiting feedback in PR discussion
* rename LifecycleEnum to StoreLifetime
* improve XmlDoc comments for StoreLifetime
* renamed SetStoreLifetime() to WithServiceLifetime()
* change StoreLifetime prop to internal
Copy link
Owner

@mrpmorris mrpmorris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two small things, my fault, I'm sorry.

This is looking great, I am really excited about getting it in. Thanks!

renamed WithServiceLifetime() to WithLifetime()
@mrpmorris mrpmorris merged commit fa8763e into mrpmorris:release/5.2 Apr 11, 2022
@mrpmorris mrpmorris added this to the 5.2 milestone Apr 11, 2022
@mrpmorris
Copy link
Owner

Merged. Thank you for your contribution!

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.

2 participants