<?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>デザインパターン</anon>
    <anon>C#2.0</anon>
    <anon>VB.NET</anon>
  </categories>
  <description>以前書いた、デザインパターン第１０回「Iteratorパターン」その１はこちらです。 以前書いたときは、ただ単にIEnumerableインターフェイスおよび、IEnumeratorインターフェイスを そのまま利用しただけの例について、イテレータパターンを学習しました。 今回は、GoF本の中でも触れられているPreviousやSkipToなどの機能を実際にC#2.0で実装してみましょうというお話。 んでもって、せっかくなのでジェネリクス対応してしまいましょう。 実装内容について詳しくは解説しませんが、内容はコードおよびコメントを見れば一目瞭然かと。 Iteratorの定義まずは、要素へのアクセス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzecl.hatenablog.com%2Fentry%2F20080719%2Fp1&quot; title=&quot;デザインパターン第１５回「Iteratorパターン」その２ - 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-07-19 00:00:00</published>
  <title>デザインパターン第１５回「Iteratorパターン」その２</title>
  <type>rich</type>
  <url>https://zecl.hatenablog.com/entry/20080719/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
