<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hacchi_man</author_name>
  <author_url>https://blog.hatena.ne.jp/hacchi_man/</author_url>
  <blog_title>うにてぃブログ</blog_title>
  <blog_url>https://hacchi-man.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>State を enum で分けて管理しているとき クラスが増えていった際に 追加処理が面倒だったので自動的に管理してくれるものを作成 using System; using System.Collections.Generic; using System.Linq; public class ClassManage&lt;T, TEnum&gt; where T : BaseClass where TEnum : struct { private readonly Dictionary&lt;int, T&gt; _classes; public T this[TEnum type] { get { if (!_c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhacchi-man.hatenablog.com%2Fentry%2F2020%2F06%2F04%2F220000&quot; title=&quot;【C#】Stateを管理するクラス - うにてぃブログ&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>2020-06-04 22:00:00</published>
  <title>【C#】Stateを管理するクラス</title>
  <type>rich</type>
  <url>https://hacchi-man.hatenablog.com/entry/2020/06/04/220000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
