<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikorin2</author_name>
  <author_url>https://blog.hatena.ne.jp/ikorin2/</author_url>
  <blog_title>ネコのために鐘は鳴る</blog_title>
  <blog_url>https://ikorin2.hatenablog.jp/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>c#</anon>
    <anon>programming</anon>
  </categories>
  <description>明日使えない小ネタ記事です。 C# 10 から文字列補間の $&quot;&quot; 構文が独自拡張可能になっています。 これはパターンベースになっており、特定の条件を満たす型を書くことで動作します。 本記事ではまともな使い方やメリットについては解説しません。 まともな使い方や実装方法は公式ドキュメントを見てください。 これをハックして、文字列補間前の文字列を取得してみます。 以下のような型を作ります。 using System.Runtime.CompilerServices; [InterpolatedStringHandler] public readonly struct NotInterpolatio…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fikorin2.hatenablog.jp%2Fentry%2F2022%2F11%2F29%2F201801&quot; title=&quot;(C#) 文字列補間されていない文字列補間を取得する - ネコのために鐘は鳴る&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-29 20:18:01</published>
  <title>(C#) 文字列補間されていない文字列補間を取得する</title>
  <type>rich</type>
  <url>https://ikorin2.hatenablog.jp/entry/2022/11/29/201801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
