<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rimever</author_name>
  <author_url>https://blog.hatena.ne.jp/rimever/</author_url>
  <blog_title>より良いエンジニアを目指して</blog_title>
  <blog_url>https://rimever.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>RelayCommandのExecuteメソッドって非同期処理使えないの？と。 HttpClientを使うことになれば自然とExecuteメソッドをasync修飾子を指定したくなります。 Task.Runで包むという手はあるのですが、それも微妙だなあと思っていると以下の記事が見つかりました。 blogs.msdn.microsoft.com 自分でRelayCommandAsyncというクラスを定義して使うことになります。 以下のような形になります。 using System; using System.Collections.Generic; using System.Net.Http; u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frimever.hatenablog.com%2Fentry%2F2019%2F12%2F07%2F060000&quot; title=&quot;WPFのボタン処理であるICommand.Executeで非同期処理を使えるようにする。 - より良いエンジニアを目指して&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>2019-12-07 06:00:00</published>
  <title>WPFのボタン処理であるICommand.Executeで非同期処理を使えるようにする。</title>
  <type>rich</type>
  <url>https://rimever.hatenablog.com/entry/2019/12/07/060000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
