{"width":"100%","image_url":null,"provider_name":"Hatena Blog","categories":["C#"],"height":"190","author_url":"https://blog.hatena.ne.jp/yunagi_n/","type":"rich","url":"https://tech.natsuneko.blog/entry/2023/10/29/want-invocation-context-with-di-in-system-command-line","version":"1.0","blog_url":"https://tech.natsuneko.blog/","title":"System.CommandLine \u306e Handler \u3067 DI \u4f7f\u3044\u3064\u3064 InvocationContext \u3082\u307b\u3057\u3044","published":"2023-10-28 15:00:00","blog_title":"\u306a\u3064\u306d\u3053\u30e1\u30e2","description":"System.CommandLine \u3068\u3044\u3046 Microsoft \u306b\u3088\u308b .NET \u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u308c\u3092\u4f7f\u3046\u3068 (\u4e00\u751f\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u306f\u3042\u308b\u3082\u306e\u306e) \u308f\u308a\u3068\u7c21\u5358\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a2\u30d7\u30ea\u3092\u4f5c\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u305d\u308c\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u3067\u3059\u3002 \u5404\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3092\u5b9a\u7fa9\u5f8c\u3001\u5b9f\u969b\u306e\u51e6\u7406\u306f\u30cf\u30f3\u30c9\u30e9\u30fc\u3092\u767b\u9332\u3057\u3066\u304a\u3053\u3046\u306a\u3046\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u969b\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u304b\u3089\u5b9f\u969b\u306e\u5024\u3092\u53d7\u3051\u53d6\u308b\u969b\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u52a0\u5de5\u3057\u305f\u308a\u306a\u3069\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u3093\u306a\u3068\u304d\u306b\u306f BinderBase<T> \u7d4c\u7531\u3067 DI \u3059\u308b\u3053\u3068\u3067\u30b9\u30de\u30fc\u30c8\u306b\u51fa\u6765\u307e\u3059\u3002 \u305f\u3060\u3057\u3001 DI \u3092\u884c\u3063\u305f\u5834\u5408\u3001\u30cf\u30f3\u30c9\u30e9\u30fc\u30c7\u30ea\u30b2\u30fc\u30c8\u306b\u306f\u30d1\u30fc\u30b9\u7d50\u679c\u306a\u3069\u304c\u2026","author_name":"yunagi_n","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2023%2F10%2F29%2Fwant-invocation-context-with-di-in-system-command-line\" title=\"System.CommandLine \u306e Handler \u3067 DI \u4f7f\u3044\u3064\u3064 InvocationContext \u3082\u307b\u3057\u3044 - \u306a\u3064\u306d\u3053\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}