Skip to content

Instantly share code, notes, and snippets.

@mgroves
Created December 19, 2010 21:54
Show Gist options
  • Save mgroves/747726 to your computer and use it in GitHub Desktop.
Save mgroves/747726 to your computer and use it in GitHub Desktop.
using Android.Util;
using PostSharp.Aspects;
namespace MonoStockPortfolio
{
public class LogMeAttribute : OnMethodBoundaryAspect
{
public override void OnExit(MethodExecutionArgs args)
{
Log.W("PostSharp", "Hello from the OnMethodBoundaryAspect for the '" + args.Method.Name + "' method!");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment