<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zecl</author_name>
  <author_url>https://blog.hatena.ne.jp/zecl/</author_url>
  <blog_title>Bug Catharsis</blog_title>
  <blog_url>https://zecl.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C#3.0</anon>
    <anon>VB.NET</anon>
    <anon>LINQ</anon>
  </categories>
  <description>以下のような感じで、特定のインターフェイスを持つプラグインを取得するメソッドを作ってみた。 複数の種類のプラグインを利用するアプリなんてそうそうない気がしないでもないが、 こんな感じでひとつ作っておくと便利。やっぱLINQとyield使うと、かなりすっきり*1。 いつものように例はC#で書きますが、VB.NETでも同様のことができます。(yield 以外) using System; using System.IO; using System.Reflection; using System.Collections.Generic; using System.Linq; namespace U…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzecl.hatenablog.com%2Fentry%2F20081112%2Fp1&quot; title=&quot;特定のインターフェイスを持つプラグインを取得 - Bug Catharsis&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>2008-11-12 00:00:00</published>
  <title>特定のインターフェイスを持つプラグインを取得</title>
  <type>rich</type>
  <url>https://zecl.hatenablog.com/entry/20081112/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
