.NET ç¨ã® AOP ãã¼ã«ã§ãã AspectDNG ã使ã£ã¦ãæå®ã®ã¯ã©ã¹ã«ã¤ã³ã¿ã¼ãã§ã¼ã¹ã追å å®è£ ããã æé ã¯ä»¥ä¸ã®éã ã¯ã©ã¹ã¨ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ä½æ ã¢ã¹ãã¯ãã®å®ç¾©ã¨é©ç¨ ãã¹ãã¯ã©ã¹ã®ä½æã¨å®è¡ ã¯ã©ã¹ã¨ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ä½æ ã¢ã¹ãã¯ãã®é©ç¨å¯¾è±¡ã¨ããã¯ã©ã¹ã¨ã¢ã¹ãã¯ãã§è¿½å ããããã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãä½æãã public class Data {} public interface IChecker { void Check(int num, string msg); } ããããã«ããã¦ã¢ã»ã³ããªãä½æãã¦ãã >csc /t:library /out:commonlib.dll Data.cs IChecker.cs ã¢ã¹ãã¯ãã®å®ç¾©ã¨é©ç¨ AspectDNG ã§ã¯ã«ã¹ã¿ã ã¢ããªãã¥ã¼ãã§ã¢ã¹ãã¯ããå®ç¾©ã§ããã¤ã³ã¿ã¼ãã§ã¼ã¹ã追å å®è£ ããã«ã¯ä»¥ä¸ã®ã«ã¹ã¿ã ã¢
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}