亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? opmlitemcollection.cs

?? 基于.Net環境下c#實現的國人自己的Blog平臺,基于.Text的核心技術,但做了漢化以及改寫了一部分的核心代碼,值得研究學習
?? CS
?? 第 1 頁 / 共 4 頁
字號:
#region Disclaimer/Info

///////////////////////////////////////////////////////////////////////////////////////////////////
// .Text WebLog
// 
// .Text is an open source weblog system started by Scott Watermasysk. 
// Blog: http://ScottWater.com/blog 
// RSS: http://scottwater.com/blog/rss.aspx
// Email: Dottext@ScottWater.com
//
// For updated news and information please visit http://scottwater.com/dottext and subscribe to 
// the Rss feed @ http://scottwater.com/dottext/rss.aspx
//
// On its release (on or about August 1, 2003) this application is licensed under the BSD. However, I reserve the 
// right to change or modify this at any time. The most recent and up to date license can always be fount at:
// http://ScottWater.com/License.txt
// 
// Please direct all code related questions to:
// GotDotNet Workspace: http://www.gotdotnet.com/Community/Workspaces/workspace.aspx?id=e99fccb3-1a8c-42b5-90ee-348f6b77c407
// Yahoo Group http://groups.yahoo.com/group/DotText/
// 
///////////////////////////////////////////////////////////////////////////////////////////////////

#endregion

using System;
using System.Collections;

namespace Dottext.Web.Admin
{

	#region OpmlItemCollection

	/// <summary>
	/// Implements a strongly typed collection of <see cref="OpmlItem"/> elements.
	/// </summary>
	/// <remarks>
	/// <b>OpmlItemCollection</b> provides an <see cref="ArrayList"/> 
	/// that is strongly typed for <see cref="OpmlItem"/> elements.
	/// </remarks>
	[Serializable]
	public class OpmlItemCollection : IOpmlItemList, IList, ICloneable
	{
		#region Private Fields

		private const int _defaultCapacity = 16;

		private OpmlItem[] _array = null;
		private int _count = 0;

		[NonSerialized] private int _version = 0;

		#endregion

		#region Private Constructors

		private enum Tag
		{
			Default
		}

		private OpmlItemCollection(Tag tag)
		{
		}

		#endregion

		#region Public Constructors

		/// <overloads>
		/// Initializes a new instance of the <see cref="OpmlItemCollection"/> class.
		/// </overloads>
		/// <summary>
		/// Initializes a new instance of the <see cref="OpmlItemCollection"/> class
		/// that is empty and has the default initial capacity.
		/// </summary>
		/// <remarks>Please refer to <see cref="ArrayList()"/> for details.</remarks>    
		public OpmlItemCollection()
		{
			this._array = new OpmlItem[_defaultCapacity];
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="OpmlItemCollection"/> class
		/// that is empty and has the specified initial capacity.
		/// </summary>
		/// <param name="capacity">The number of elements that the new 
		/// <see cref="OpmlItemCollection"/> is initially capable of storing.</param>
		/// <exception cref="ArgumentOutOfRangeException">
		/// <paramref name="capacity"/> is less than zero.</exception>    
		/// <remarks>Please refer to <see cref="ArrayList(Int32)"/> for details.</remarks>    
		public OpmlItemCollection(int capacity)
		{
			if (capacity < 0)
				throw new ArgumentOutOfRangeException("capacity", capacity, "Argument cannot be negative.");

			this._array = new OpmlItem[capacity];
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="OpmlItemCollection"/> class
		/// that contains elements copied from the specified collection and
		/// that has the same initial capacity as the number of elements copied.
		/// </summary>
		/// <param name="collection">The <see cref="OpmlItemCollection"/> 
		/// whose elements are copied to the new collection.</param>
		/// <exception cref="ArgumentNullException">
		/// <paramref name="collection"/> is a null reference.</exception>        
		/// <remarks>Please refer to <see cref="ArrayList(ICollection)"/> for details.</remarks>    
		public OpmlItemCollection(OpmlItemCollection collection)
		{
			if (collection == null)
				throw new ArgumentNullException("collection");

			this._array = new OpmlItem[collection.Count];
			AddRange(collection);
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="OpmlItemCollection"/> class
		/// that contains elements copied from the specified <see cref="OpmlItem"/>
		/// array and that has the same initial capacity as the number of elements copied.
		/// </summary>
		/// <param name="array">An <see cref="Array"/> of <see cref="OpmlItem"/> 
		/// elements that are copied to the new collection.</param>
		/// <exception cref="ArgumentNullException">
		/// <paramref name="array"/> is a null reference.</exception>        
		/// <remarks>Please refer to <see cref="ArrayList(ICollection)"/> for details.</remarks>    
		public OpmlItemCollection(OpmlItem[] array)
		{
			if (array == null)
				throw new ArgumentNullException("array");

			this._array = new OpmlItem[array.Length];
			AddRange(array);
		}

		#endregion

		#region Public Properties

		#region Capacity

		/// <summary>
		/// Gets or sets the capacity of the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <value>The number of elements that the 
		/// <see cref="OpmlItemCollection"/> can contain.</value>
		/// <exception cref="ArgumentOutOfRangeException">
		/// <b>Capacity</b> is set to a value that is less than <see cref="Count"/>.</exception>
		/// <remarks>Please refer to <see cref="ArrayList.Capacity"/> for details.</remarks>
		public virtual int Capacity
		{
			get { return this._array.Length; }
			set
			{
				if (value == this._array.Length)
					return;

				if (value < this._count)
					throw new ArgumentOutOfRangeException("Capacity", value, "Value cannot be less than Count.");

				if (value == 0)
				{
					this._array = new OpmlItem[_defaultCapacity];
					return;
				}

				OpmlItem[] newArray = new OpmlItem[value];
				Array.Copy(this._array, newArray, this._count);
				this._array = newArray;
			}
		}

		#endregion

		#region Count

		/// <summary>
		/// Gets the number of elements contained in the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <value>
		/// The number of elements contained in the <see cref="OpmlItemCollection"/>.
		/// </value>
		/// <remarks>Please refer to <see cref="ArrayList.Count"/> for details.</remarks>
		public virtual int Count
		{
			get { return this._count; }
		}

		#endregion

		#region IsFixedSize

		/// <summary>
		/// Gets a value indicating whether the <see cref="OpmlItemCollection"/> has a fixed size.
		/// </summary>
		/// <value><c>true</c> if the <see cref="OpmlItemCollection"/> has a fixed size;
		/// otherwise, <c>false</c>. The default is <c>false</c>.</value>
		/// <remarks>Please refer to <see cref="ArrayList.IsFixedSize"/> for details.</remarks>
		public virtual bool IsFixedSize
		{
			get { return false; }
		}

		#endregion

		#region IsReadOnly

		/// <summary>
		/// Gets a value indicating whether the <see cref="OpmlItemCollection"/> is read-only.
		/// </summary>
		/// <value><c>true</c> if the <see cref="OpmlItemCollection"/> is read-only;
		/// otherwise, <c>false</c>. The default is <c>false</c>.</value>
		/// <remarks>Please refer to <see cref="ArrayList.IsReadOnly"/> for details.</remarks>
		public virtual bool IsReadOnly
		{
			get { return false; }
		}

		#endregion

		#region IsSynchronized

		/// <summary>
		/// Gets a value indicating whether access to the <see cref="OpmlItemCollection"/> 
		/// is synchronized (thread-safe).
		/// </summary>
		/// <value><c>true</c> if access to the <see cref="OpmlItemCollection"/> is 
		/// synchronized (thread-safe); otherwise, <c>false</c>. The default is <c>false</c>.</value>
		/// <remarks>Please refer to <see cref="ArrayList.IsSynchronized"/> for details.</remarks>
		public virtual bool IsSynchronized
		{
			get { return false; }
		}

		#endregion

		#region Item

		/// <summary>
		/// Gets or sets the <see cref="OpmlItem"/> element at the specified index.
		/// </summary>
		/// <param name="index">The zero-based index of the 
		/// <see cref="OpmlItem"/> element to get or set.</param>
		/// <value>
		/// The <see cref="OpmlItem"/> element at the specified <paramref name="index"/>.
		/// </value>    
		/// <exception cref="ArgumentOutOfRangeException">
		/// <para><paramref name="index"/> is less than zero.</para>
		/// <para>-or-</para>
		/// <para><paramref name="index"/> is equal to or greater than <see cref="Count"/>.</para>
		/// </exception>
		/// <exception cref="NotSupportedException">
		/// The property is set and the <see cref="OpmlItemCollection"/> is read-only.</exception>
		/// <remarks>Please refer to <see cref="ArrayList.this"/> for details.</remarks>
		public virtual OpmlItem this[int index]
		{
			get
			{
				ValidateIndex(index);
				return this._array[index];
			}
			set
			{
				ValidateIndex(index);
				++this._version;
				this._array[index] = value;
			}
		}

		/// <summary>
		/// Gets or sets the element at the specified index.
		/// </summary>
		/// <param name="index">The zero-based index of the element to get or set.</param>
		/// <value>
		/// The element at the specified <paramref name="index"/>. When the property
		/// is set, this value must be compatible with <see cref="OpmlItem"/>.
		/// </value>    
		/// <exception cref="ArgumentOutOfRangeException">
		/// <para><paramref name="index"/> is less than zero.</para>
		/// <para>-or-</para>
		/// <para><paramref name="index"/> is equal to or greater than <see cref="Count"/>.</para>
		/// </exception>
		/// <exception cref="InvalidCastException">The property is set to a value
		/// that is not compatible with <see cref="OpmlItem"/>.</exception>
		/// <exception cref="NotSupportedException">
		/// The property is set and the <see cref="OpmlItemCollection"/> is read-only.</exception>
		/// <remarks>Please refer to <see cref="ArrayList.this"/> for details.</remarks>
		object IList.this[int index]
		{
			get { return this[index]; }
			set { this[index] = (OpmlItem) value; }
		}

		#endregion

		#region SyncRoot

		/// <summary>
		/// Gets an object that can be used to synchronize 
		/// access to the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <value>An object that can be used to synchronize 
		/// access to the <see cref="OpmlItemCollection"/>.
		/// </value>
		/// <remarks>Please refer to <see cref="ArrayList.SyncRoot"/> for details.</remarks>
		public virtual object SyncRoot
		{
			get { return this; }
		}

		#endregion

		#endregion

		#region Public Methods

		#region Add    

		/// <summary>
		/// Adds a <see cref="OpmlItem"/> to the end of the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="value">The <see cref="OpmlItem"/> object 
		/// to be added to the end of the <see cref="OpmlItemCollection"/>.
		/// This argument can be a null reference.
		/// </param>    
		/// <returns>The <see cref="OpmlItemCollection"/> index at which the 
		/// <paramref name="value"/> has been added.</returns>
		/// <exception cref="NotSupportedException">
		/// <para>The <see cref="OpmlItemCollection"/> is read-only.</para>
		/// <para>-or-</para>
		/// <para>The <b>OpmlItemCollection</b> has a fixed size.</para></exception>    
		/// <remarks>Please refer to <see cref="ArrayList.Add"/> for details.</remarks>
		public virtual int Add(OpmlItem value)
		{
			if (this._count == this._array.Length)
				EnsureCapacity(this._count + 1);

			++this._version;
			this._array[this._count] = value;
			return this._count++;
		}

		/// <summary>
		/// Adds an <see cref="Object"/> to the end of the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="value">
		/// The object to be added to the end of the <see cref="OpmlItemCollection"/>.
		/// This argument must be compatible with <see cref="OpmlItem"/>.
		/// This argument can be a null reference.
		/// </param>    
		/// <returns>The <see cref="OpmlItemCollection"/> index at which the 
		/// <paramref name="value"/> has been added.</returns>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍视频在线观看一区二区| 日韩电影在线一区二区三区| 国产精品一区2区| 久久精品男人天堂av| 国产精品99久久久久久宅男| 久久精品视频网| 成人午夜av影视| 一区二区三区在线高清| 欧美视频在线观看一区二区| 日韩精品一二三| 久久欧美中文字幕| 色婷婷激情久久| 石原莉奈一区二区三区在线观看| 欧美一区二区三区婷婷月色| 久久99精品久久久久| 中文字幕精品综合| 欧美日韩一区二区在线视频| 美女视频网站久久| 国产精品看片你懂得| 欧美自拍偷拍午夜视频| 久久精品99久久久| 亚洲色图另类专区| 日韩你懂的电影在线观看| 国产99精品视频| 亚洲v中文字幕| 国产日韩欧美综合在线| 欧美中文字幕不卡| 国产成人午夜高潮毛片| 亚洲国产综合人成综合网站| 日韩免费在线观看| 色屁屁一区二区| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲日本乱码在线观看| 日韩欧美一区在线| 99re这里只有精品视频首页| 美女尤物国产一区| 亚洲精品免费在线观看| 久久久久久久综合日本| 欧美日韩精品一区二区三区| 成人在线一区二区三区| 美女视频一区在线观看| 亚洲狠狠丁香婷婷综合久久久| 欧美大尺度电影在线| 一本久久精品一区二区| 国产高清精品网站| 美腿丝袜一区二区三区| 一区二区成人在线视频| 国产欧美1区2区3区| 日韩欧美国产一二三区| 欧美色综合天天久久综合精品| 国产高清久久久久| 韩国一区二区在线观看| 天天色天天操综合| 一区二区三区免费观看| 国产精品国产三级国产a| 亚洲精品一区二区三区四区高清| 欧美日韩精品系列| 色域天天综合网| caoporn国产精品| 国产激情偷乱视频一区二区三区| 日韩成人免费电影| 天堂蜜桃91精品| 亚洲一区二区三区精品在线| 国产精品久久久久aaaa| 久久久久国产成人精品亚洲午夜| 777色狠狠一区二区三区| 欧美性视频一区二区三区| 91丨porny丨国产入口| 成人app下载| av成人老司机| 91影院在线免费观看| www.久久久久久久久| 成人久久久精品乱码一区二区三区| 韩国午夜理伦三级不卡影院| 精品一区二区三区在线视频| 久久成人免费电影| 国产真实乱对白精彩久久| 激情综合色综合久久| 激情另类小说区图片区视频区| 另类小说综合欧美亚洲| 精品一区二区日韩| 国产一区二区不卡| 国产精品69久久久久水密桃| 国产成人免费9x9x人网站视频| 国产成人小视频| aa级大片欧美| 欧美亚洲一区二区三区四区| 欧美挠脚心视频网站| 日韩欧美中文字幕制服| 国产亚洲制服色| 国产精品久久三| 亚洲一区二区四区蜜桃| 五月婷婷另类国产| 奇米一区二区三区av| 国内精品国产成人| 99热国产精品| 欧美精品视频www在线观看| 91精品国产综合久久久蜜臀粉嫩 | 国产麻豆一精品一av一免费 | 中文成人av在线| 亚洲精品高清视频在线观看| 亚瑟在线精品视频| 激情图区综合网| 成人av在线一区二区| 欧美系列一区二区| 日韩精品一区二区三区视频播放| 欧美激情一区二区三区四区| 亚洲女同ⅹxx女同tv| 日韩精品久久久久久| 国产一区二区三区av电影| 色婷婷综合久色| 欧美xxxxxxxxx| 亚洲人成在线观看一区二区| 五月婷婷久久综合| 成人午夜在线免费| 欧美高清性hdvideosex| 久久综合九色综合97婷婷女人| 亚洲欧美日韩在线不卡| 久久成人av少妇免费| 91在线一区二区三区| 日韩精品中午字幕| 亚洲女厕所小便bbb| 美女国产一区二区三区| 色猫猫国产区一区二在线视频| 日韩欧美在线1卡| 一区二区三区在线视频免费观看| 国模娜娜一区二区三区| 精品视频资源站| 国产精品久久二区二区| 麻豆精品一区二区三区| 91搞黄在线观看| 中文字幕欧美区| 奇米777欧美一区二区| 色综合久久综合中文综合网| 精品精品欲导航| 亚洲韩国精品一区| 99精品国产热久久91蜜凸| 欧美va亚洲va国产综合| 亚洲国产精品尤物yw在线观看| 国产 日韩 欧美大片| 日韩女优视频免费观看| 亚洲sss视频在线视频| 91麻豆成人久久精品二区三区| 久久综合狠狠综合久久综合88| 日本亚洲免费观看| 欧美日韩一区二区三区高清| 综合网在线视频| 国产精品一区二区果冻传媒| 欧美大度的电影原声| 日韩一区精品字幕| 欧美日韩黄视频| 亚洲综合色丁香婷婷六月图片| 99久久99久久综合| 久久精品视频一区二区三区| 极品少妇一区二区三区精品视频 | 亚洲线精品一区二区三区| 99国产一区二区三精品乱码| 国产午夜精品美女毛片视频| 国内精品久久久久影院色| 欧美一激情一区二区三区| 五月天亚洲婷婷| 欧美午夜精品免费| 亚洲va韩国va欧美va| 欧美挠脚心视频网站| 天天综合色天天综合| 91精品国产综合久久久久久久| 一区二区三区在线视频免费| 色婷婷综合五月| 亚洲大片在线观看| 欧美一级xxx| 国产九色sp调教91| 久久久久久一二三区| 成人深夜在线观看| 国产精品国产三级国产普通话三级 | 777色狠狠一区二区三区| 天天操天天综合网| 日韩欧美中文字幕精品| 狠狠色狠狠色综合系列| 日本一区二区三区在线观看| 成人午夜激情影院| 综合精品久久久| 欧美色老头old∨ideo| 日韩精彩视频在线观看| 日韩亚洲欧美成人一区| 国产精品一区二区在线看| 国产精品免费视频网站| 在线观看日韩电影| 日本亚洲欧美天堂免费| 久久精品夜夜夜夜久久| 不卡视频一二三| 亚洲成人激情自拍| 精品少妇一区二区三区| 成人一区二区视频| 一区二区三区在线观看网站| 欧美精品色综合| 成人性生交大片免费看视频在线| 亚洲精品一二三| 欧美成人vr18sexvr| thepron国产精品| 丝袜美腿一区二区三区|