wliao008 / buffalo

an aspect oriented programming framework using mono cecil for the .NET platform
1 stars 0 forks source link

Pass in more method info into aspect #2

Closed wliao008 closed 11 years ago

wliao008 commented 11 years ago

Currently here's how the boundary aspect looks:

    internal interface IMethodBoundaryAspect : IAspect
    {
        void Before(string name, string fullname);
        void After(string name, string fullname);
        void Success(string name, string fullname);
        void Exception(string name, string fullname);
    }

This is really basic info, it would be more useful to probably pass in the MethodDetail object that encapsulate all of those relevant info like name, parameter list, exception object if any.

wliao008 commented 11 years ago

Check the following commits: 9ebead7749edfda0a07ef3530178be04c80508b9 e25335b52b5c22382d9ad83c9db0511fc1d432a3