-
Notifications
You must be signed in to change notification settings - Fork 17
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 method arguments to IAdvice.Begin #14
Comments
Hi, You have to implements method Argument(T value) and store value in a field.
|
It's will work if I call my method twice? |
Yes, it depends how you create your "aspect/advisor"
here the delegate to create 'Log Advice' is called each time you call your method. This is what I recommend to manage method call contextual datas. In this case you can even specialize an advice depending on target method. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IAdvice.Begin doesn't have method arguments
Arguments needed for templates, such as
IAdvice.Begin can be
The text was updated successfully, but these errors were encountered: