è¿½è¨ 2022/11/12 è¿½è¨ ãã®è¨äºèªãã§ãDI 便å©ã ãªã£ã¦æã£ãããã¡ããä½µãã¦èªãã§ã¿ã¦ãã ãããã¯ãªã¼ã³ã¢ã¼ããã¯ãã£ã¼ã®éè¨ã®ä¸ã§ä¾åæ§é転ã®èª¬æãåºã¦ãã¾ããé£ããããããã¾ããããä¸åº¦ç解ããã°ã¤ã¶ããå¹ãèãæ¹ãªã®ã§è °ãæ®ãã¦èªãã§ã¿ã¦ãã ããã æ¬æ ããã§ã¯ãæè¿ã®ããããã®è¦æ¨¡ã®ã¢ããªã ã¨å¤§ä½ä½¿ããã¦ãï¼ã¨ç§ã¯æã£ã¦ãï¼Dependency Injectionï¼DIï¼ã«ã¤ãã¦ãä½æ 使ã£ã¦ãã®ãï¼ã¨ããã®ãç§ã®ç解ã§æ¸ãã¦ããããã¨æãã¾ãã ä»åã®å¯¾è±¡è¨èªã¯ C# ã§ãããDI 使ã£ã¦ãè¨èªã§ããã°å¤§ä½åãäºæ ãªã®ããªã¨æãã¾ãã åä½ãã¹ãããããã ã¢ããªã±ã¼ã·ã§ã³ãä½ãã¨ãã¾ãåãã¦ããããã¹ããããã¨æãã¾ãã ãã¨ãããã®ã¢ããªãããã¼ã¯ã¼ã«ãã ã¨ãã¦ãåããã¦ç®è¦ã§ç¢ºèªãã¦ãã¨æãã¾ãã ããã¡ãã£ã¨ã¢ããªã®è¦æ¨¡ã大ãããªã£ã¦ããã¨ã¯ã©ã¹åä½ãã¯ã©ã¹
{{#tags}}- {{label}}
{{/tags}}