-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open behavior multiple registration extensions #1065
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
Open behavior multiple registration extensions #1065
Conversation
… into multiple registration extension.
|
@zachpainter77 What is the relevancy between my pull request and your |
Sorry I must have been mistaken.. I don't think these are actually related.. I'll remove that from my pr. Edit: Actually it was a typo I meant to reference #1056 |
Hello,
I was adding multiple behaviors to my project and I didn't want to put my every behavior one by one like this:
so I decided to create my own AddBehaviors extension to add my behaviors by list at once. I thought this could help others without implementing their own extension.
Furthermore, I noticed there is a optional service lifetime implementation inside AddOpenBehavior so I added another extension with OpenBehavior entity. This helps developer to set every behavior service lifetime individually while registering their behaviors with multiple registration.