Apr 13, 2012

PostSharp

http://www.sharpcrafters.com/

Aspect-oriented framework for .NET.

Name: OnExceptionAspect
Level: method
Note: exception handling in a marked method

Name: OnMethodBoundaryAspect
Level: method, class, assembly
Notes: intercepts certain points in a method’s execution: OnEntry, OnExit, OnSuccess, OnException

Name: MethodInterceptionAspect
Level: method
Notes: replaces method's contents that can be invoked
Example use: wait/retry, automatic thread delegation, lazy loading and validation

Name: LocationInterceptionAspect
Level: field, property
Notes: OnGetValue and OnSetValue
Example use: lazy loading, IoC Resolution

 

No comments:

Post a Comment