<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>.NET Core</anon>
    <anon>.NET Framework</anon>
    <anon>C#</anon>
    <anon>Tool</anon>
  </categories>
  <description>WPF/UWP などの XAML 系実装で使用する ViewModel は OSS(Livet, Prism ReactiveProperty) などを使用しない場合、INotifyPropertyChanged 周りの実装が冗長で、繰り返しが面倒なので軽減策の紹介したいと思います。 アプローチ方法は以下の通りです。 共通基底クラスを使用 プロパティはスニペット化 確認環境 VisualStudio2019 C# 9.0 Bindableクラス まず ViewModel の共通基底クラスとして Bindableクラスを以下のように宣言します。 using System.Collections;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2022%2F06%2F21%2F235233&quot; title=&quot;【C#】ViewModelの実装をスニペットで軽減する - PG日誌&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-06-21 23:52:33</published>
  <title>【C#】ViewModelの実装をスニペットで軽減する</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2022/06/21/235233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
