-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Override MethodProcessor #356
Comments
Look at this example |
This is the code, but i don't know how I can get the Policy.
And the extension:
If you have an idea, can you share it? :) Thanks! |
I'm trying using reflection for replace it, but no lucky too..
I know that Method Policies are added in SetDefaultPolicies, but I don't know how change that:
|
Using this approach I can add a new "BuilderStage.Methods", but using this doesn't replace original one!
|
I can use same approach from public class Diagnostic : UnityContainerExtension but are internal classes. |
@ENikS Any ideas please? |
Hi!
We want to override MethodProcessor for change some behaviours. I make some testing but I cannot replace original MethodProcessor. @ENikS Some ideas for that?
Sample code:
But using Register doesn't Works:
I'm tying to use Extension but no lucky :(
Regards,
The text was updated successfully, but these errors were encountered: