<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guitarrapc_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/guitarrapc_tech/</author_url>
  <blog_title>tech.guitarrapc.cóm</blog_title>
  <blog_url>https://tech.guitarrapc.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Pulumi</anon>
  </categories>
  <description>C# 91から利用できるTarget-typed newは使い方によっては非常に便利です。 ただ、ライブラリのAPI設定次第で使いたいときに使えないというシーンもあるのでメモです。 暗黙的型変換を期待するAPIではTarget-typed Newは使えない Pulumi C#で頻出のAPIパターン PulumiのInput Target-typed newは便利 Target-typed newが使いにくいシーン AI前提で好みやスタイルは変わっていくか まとめ 参考 暗黙的型変換を期待するAPIではTarget-typed Newは使えない 暗黙的型変換を前提としたInput&lt;T&gt;を使うAP…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.guitarrapc.com%2Fentry%2F2025%2F02%2F27%2F235900&quot; title=&quot;Target-typed newと暗黙的型変換を期待するAPI - tech.guitarrapc.cóm&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://github.com/user-attachments/assets/e188e26a-6dc6-4d37-98f8-e922db563b5c</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-02-27 23:59:00</published>
  <title>Target-typed newと暗黙的型変換を期待するAPI</title>
  <type>rich</type>
  <url>https://tech.guitarrapc.com/entry/2025/02/27/235900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
