NEWSで取り上げたPostSharpが面白そうなので早速実験です。 まず、コンソールアプリケーションプロジェクトを作成して、MyTestAttributeクラスを作成します。 using System; using PostSharp.Laos; [Serializable] class MyTestAttribute : OnMethodBoundaryAspect { public override void OnEntry (MethodExecutionEventArgs eventArgs) { Console.WriteLine ("Enter:" + eventArgs.Method.Name); } public override void OnExit (MethodExecutionEventArgs eventArgs) { Console.WriteLine ("
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く