Error!
Success!

PostSharp Principles: Day 4 - OnMethodBoundaryAspect

0
kicks

PostSharp Principles: Day 4 - OnMethodBoundaryAspect  (Unpublished)

Dustin Davis revisits the OnMethodBoundaryAspect class by building a profiler aspect to identify slow executing methods. As noted in Day 2, OnMethodBoundaryAspect has 4 methods for us to access specific points in a methods execution OnEntry - Before the execution of the method body OnExit - Always called when a method is done executing even if there was an error OnSuccess - Called only when a method is done executing and there were no exceptions OnException - Called only when a method has stopped executing due to an unhandled exception


Kicked By:
Drop Kicked By: