<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JHashimoto</author_name>
  <author_url>https://blog.hatena.ne.jp/JHashimoto/</author_url>
  <blog_title>Architect's Log</blog_title>
  <blog_url>https://blog.jhashimoto.net/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>ASP.NET</anon>
  </categories>
  <description>Evalの戻り値をビハインドコードのメソッドの引数にしたいことがあります。 例えば、以下のようなメソッドをマークアップから呼び出す場合です。 /// &lt;summary&gt; /// コードから表示文字列を取得します。 /// &lt;/summary&gt; /// &lt;param name=&quot;value&quot;&gt;コード。&lt;/param&gt; /// &lt;returns&gt;変換された文字列。&lt;/returns&gt; protected string ConvertCodeToText(string value) { switch(value) { case &quot;01&quot;: return &quot;hoge&quot;; case &quot;02&quot;: retu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jhashimoto.net%2Fentry%2F20120623%2F1340672349&quot; title=&quot;Evalの戻り値をメソッドの引数にする場合は明示的にキャストしなければならない - Architect&amp;#39;s Log&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>http://capture.heartrails.com/150x130/shadow?http://msdn.microsoft.com/ja-jp/library/4hx47hfe.aspx</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-23 09:59:09</published>
  <title>Evalの戻り値をメソッドの引数にする場合は明示的にキャストしなければならない</title>
  <type>rich</type>
  <url>https://blog.jhashimoto.net/entry/20120623/1340672349</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
