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

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

?? opmlitemcollection.cs

?? 基于.Net環境下c#實現的國人自己的Blog平臺,基于.Text的核心技術,但做了漢化以及改寫了一部分的核心代碼,值得研究學習
?? CS
?? 第 1 頁 / 共 4 頁
字號:
		/// <para>-or-</para>
		/// <para>The <b>OpmlItemCollection</b> has a fixed size.</para></exception>    
		/// <remarks>Please refer to <see cref="ArrayList.Insert"/> for details.</remarks>
		public virtual void Insert(int index, OpmlItem value)
		{
			if (index < 0)
				throw new ArgumentOutOfRangeException("index", index, "Argument cannot be negative.");
			if (index > this._count)
				throw new ArgumentOutOfRangeException("index", index, "Argument cannot exceed Count.");

			if (this._count == this._array.Length)
				EnsureCapacity(this._count + 1);

			++this._version;
			if (index < this._count)
				Array.Copy(this._array, index, this._array, index + 1, this._count - index);

			this._array[index] = value;
			++this._count;
		}

		/// <summary>
		/// Inserts an element into the <see cref="OpmlItemCollection"/> at the specified index.
		/// </summary>
		/// <param name="index">The zero-based index at which <paramref name="value"/> 
		/// should be inserted.</param>
		/// <param name="value">The object to insert into the <see cref="OpmlItemCollection"/>.
		/// This argument must be compatible with <see cref="OpmlItem"/>.
		/// This argument can be a null reference.
		/// </param>    
		/// <exception cref="ArgumentOutOfRangeException">
		/// <para><paramref name="index"/> is less than zero.</para>
		/// <para>-or-</para>
		/// <para><paramref name="index"/> is greater than <see cref="Count"/>.</para>
		/// </exception>
		/// <exception cref="InvalidCastException"><paramref name="value"/>
		/// is not compatible with <see cref="OpmlItem"/>.</exception>    
		/// <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.Insert"/> for details.</remarks>
		void IList.Insert(int index, object value)
		{
			Insert(index, (OpmlItem) value);
		}

		#endregion

		#region ReadOnly

		/// <summary>
		/// Returns a read-only wrapper for the specified <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="collection">The <see cref="OpmlItemCollection"/> to wrap.</param>    
		/// <returns>A read-only wrapper around <paramref name="collection"/>.</returns>
		/// <exception cref="ArgumentNullException">
		/// <paramref name="collection"/> is a null reference.</exception>    
		/// <remarks>Please refer to <see cref="ArrayList.ReadOnly"/> for details.</remarks>
		public static OpmlItemCollection ReadOnly(OpmlItemCollection collection)
		{
			if (collection == null)
				throw new ArgumentNullException("collection");

			return new ReadOnlyList(collection);
		}

		#endregion

		#region Remove

		/// <summary>
		/// Removes the first occurrence of the specified <see cref="OpmlItem"/>
		/// from the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="value">The <see cref="OpmlItem"/> object
		/// to remove from the <see cref="OpmlItemCollection"/>.
		/// This argument can be a null reference.
		/// </param>    
		/// <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.Remove"/> for details.</remarks>
		public virtual void Remove(OpmlItem value)
		{
			int index = IndexOf(value);
			if (index >= 0)
				RemoveAt(index);
		}

		/// <summary>
		/// Removes the first occurrence of the specified <see cref="Object"/>
		/// from the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="value">The object to remove from the <see cref="OpmlItemCollection"/>.
		/// This argument must be compatible with <see cref="OpmlItem"/>.
		/// This argument can be a null reference.
		/// </param>    
		/// <exception cref="InvalidCastException"><paramref name="value"/>
		/// is not compatible with <see cref="OpmlItem"/>.</exception>    
		/// <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.Remove"/> for details.</remarks>
		void IList.Remove(object value)
		{
			Remove((OpmlItem) value);
		}

		#endregion

		#region RemoveAt

		/// <summary>
		/// Removes the element at the specified index of the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="index">The zero-based index of the element to remove.</param>
		/// <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">
		/// <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.RemoveAt"/> for details.</remarks>
		public virtual void RemoveAt(int index)
		{
			ValidateIndex(index);

			++this._version;
			if (index < --this._count)
				Array.Copy(this._array, index + 1, this._array, index, this._count - index);

			this._array[this._count] = null;
		}

		#endregion

		#region RemoveRange

		/// <summary>
		/// Removes a range of elements from the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="index">The zero-based starting index of the range
		/// of elements to remove.</param>
		/// <param name="count">The number of elements to remove.</param>
		/// <exception cref="ArgumentException">
		/// <paramref name="index"/> and <paramref name="count"/> do not denote a
		/// valid range of elements in the <see cref="OpmlItemCollection"/>.</exception>
		/// <exception cref="ArgumentOutOfRangeException">
		/// <para><paramref name="index"/> is less than zero.</para>
		/// <para>-or-</para>
		/// <para><paramref name="count"/> is less than zero.</para>
		/// </exception>
		/// <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.RemoveRange"/> for details.</remarks>
		public virtual void RemoveRange(int index, int count)
		{
			if (index < 0)
				throw new ArgumentOutOfRangeException("index", index, "Argument cannot be negative.");
			if (count < 0)
				throw new ArgumentOutOfRangeException("count", count, "Argument cannot be negative.");
			if (index + count > this._count)
				throw new ArgumentException("Arguments denote invalid range of elements.");

			if (count == 0)
				return;

			++this._version;
			this._count -= count;

			if (index < this._count)
				Array.Copy(this._array, index + count, this._array, index, this._count - index);

			Array.Clear(this._array, this._count, count);
		}

		#endregion

		#region Sort

		/// <summary>
		/// Sorts the elements in the entire <see cref="OpmlItemCollection"/>
		/// using the <see cref="IComparable"/> implementation of each element.
		/// </summary>
		/// <exception cref="NotSupportedException">
		/// The <see cref="OpmlItemCollection"/> is read-only.</exception>
		/// <remarks>Please refer to <see cref="ArrayList.Sort"/> for details.</remarks>
		public virtual void Sort()
		{
			if (this._count <= 1)
				return;
			++this._version;
			Array.Sort(this._array, 0, this._count);
		}

		#endregion

		#region Synchronized

		/// <summary>
		/// Returns a synchronized (thread-safe) wrapper 
		/// for the specified <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <param name="collection">The <see cref="OpmlItemCollection"/> to synchronize.</param>    
		/// <returns>
		/// A synchronized (thread-safe) wrapper around <paramref name="collection"/>.
		/// </returns>
		/// <exception cref="ArgumentNullException">
		/// <paramref name="collection"/> is a null reference.</exception>    
		/// <remarks>Please refer to <see cref="ArrayList.Synchronized"/> for details.</remarks>
		public static OpmlItemCollection Synchronized(OpmlItemCollection collection)
		{
			if (collection == null)
				throw new ArgumentNullException("collection");

			return new SyncList(collection);
		}

		#endregion

		#region ToArray

		/// <summary>
		/// Copies the elements of the <see cref="OpmlItemCollection"/> to a new
		/// <see cref="Array"/> of <see cref="OpmlItem"/> elements.
		/// </summary>
		/// <returns>A one-dimensional <see cref="Array"/> of <see cref="OpmlItem"/> 
		/// elements containing copies of the elements of the <see cref="OpmlItemCollection"/>.</returns>
		/// <remarks>Please refer to <see cref="ArrayList.ToArray"/> for details.</remarks>
		public virtual OpmlItem[] ToArray()
		{
			OpmlItem[] array = new OpmlItem[this._count];
			Array.Copy(this._array, array, this._count);
			return array;
		}

		#endregion

		#region TrimToSize

		/// <summary>
		/// Sets the capacity to the actual number of elements in the <see cref="OpmlItemCollection"/>.
		/// </summary>
		/// <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.TrimToSize"/> for details.</remarks>
		public virtual void TrimToSize()
		{
			Capacity = this._count;
		}

		#endregion

		#endregion

		#region Private Methods

		private void CheckEnumIndex(int index)
		{
			if (index < 0 || index >= this._count)
				throw new InvalidOperationException("Enumerator is not on a collection element.");
		}

		private void CheckEnumVersion(int version)
		{
			if (version != this._version)
				throw new InvalidOperationException("Enumerator invalidated by modification to collection.");
		}

		private void CheckTargetArray(Array array, int arrayIndex)
		{
			if (array == null)
				throw new ArgumentNullException("array");
			if (array.Rank > 1)
				throw new ArgumentException("Argument cannot be multidimensional.", "array");
			if (arrayIndex < 0)
				throw new ArgumentOutOfRangeException("arrayIndex", arrayIndex, "Argument cannot be negative.");
			if (arrayIndex >= array.Length)
				throw new ArgumentException("Argument must be less than array length.", "arrayIndex");
			if (this._count > array.Length - arrayIndex)
				throw new ArgumentException("Argument section must be large enough for collection.", "array");
		}

		private void EnsureCapacity(int minimum)
		{
			int newCapacity = (this._array.Length == 0 ?
				_defaultCapacity : this._array.Length*2);

			if (newCapacity < minimum)
				newCapacity = minimum;
			Capacity = newCapacity;
		}

		private void ValidateIndex(int index)
		{
			if (index < 0)
				throw new ArgumentOutOfRangeException("index", index, "Argument cannot be negative.");
			if (index >= this._count)
				throw new ArgumentOutOfRangeException("index", index, "Argument must be less than Count.");
		}

		#endregion

		#region Class Enumerator

		[Serializable]
		private sealed class Enumerator : IOpmlItemEnumerator, IEnumerator
		{

			private readonly OpmlItemCollection _collection;
			private readonly int _version;
			private int _index;

			internal Enumerator(OpmlItemCollection collection)
			{
				this._collection = collection;
				this._version = collection._version;
				this._index = -1;
			}

			public OpmlItem Current
			{
				get
				{
					this._collection.CheckEnumIndex(this._index);
					return this._collection[this._index];
				}
			}

			object IEnumerator.Current
			{
				get { return Current; }
			}

			public bool MoveNext()
			{
				this._collection.CheckEnumVersion(this._version);
				return (++this._index < this._collection.Count);
			}

			public void Reset()
			{
				this._collection.CheckEnumVersion(this._version);
				this._index = -1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产乱码精品1区2区3区| 欧美成人女星排行榜| 精品日韩99亚洲| 亚洲国产精品嫩草影院| 成人一区二区三区视频| 亚洲另类春色国产| 国产成人免费视频网站高清观看视频| 欧美日精品一区视频| 国产精品成人免费精品自在线观看| 麻豆成人久久精品二区三区小说| 国产乱妇无码大片在线观看| 欧美日韩视频在线一区二区| 一区二区成人在线视频| 国产一区二区三区观看| 久久99精品久久只有精品| 极品少妇一区二区| 欧美xxxx老人做受| 国产一区欧美日韩| 欧美精品一区二区三区四区| 激情深爱一区二区| 久久亚洲捆绑美女| a亚洲天堂av| 亚洲国产综合91精品麻豆| 欧美老年两性高潮| 日本一不卡视频| 久久先锋影音av鲁色资源网| av网站一区二区三区| 亚洲在线视频免费观看| 日韩一区二区在线观看视频播放| 国产乱码精品一区二区三| 国产精品久久久久影视| 欧美日韩在线电影| 看电视剧不卡顿的网站| 国产精品欧美一区二区三区| 欧美视频日韩视频在线观看| 激情综合网天天干| 亚洲综合视频网| 日韩欧美资源站| 成人av网站免费| 麻豆精品视频在线| 亚洲愉拍自拍另类高清精品| 久久久国产精品午夜一区ai换脸| 91亚洲永久精品| 欧美一区二区三区四区视频| 国产精品一区二区在线观看网站| 亚洲影院免费观看| 国产精品视频免费看| 精品国产免费一区二区三区香蕉| 在线观看成人小视频| 国产一区二区三区综合| 亚洲一区二区三区免费视频| 亚洲丝袜精品丝袜在线| 久久久蜜桃精品| 欧美tickle裸体挠脚心vk| 欧美日韩一区不卡| 91看片淫黄大片一级| 91小视频免费观看| av中文字幕不卡| 99久久精品久久久久久清纯| 99精品视频中文字幕| 99re成人精品视频| 成人免费看黄yyy456| jlzzjlzz亚洲女人18| 99r国产精品| 成av人片一区二区| 91久久线看在观草草青青| 色一情一乱一乱一91av| 欧美日韩综合一区| 亚洲乱码中文字幕综合| 亚洲欧洲日产国码二区| 亚洲最大色网站| 亚洲国产成人va在线观看天堂| 一区二区在线看| 日日夜夜一区二区| 国产麻豆成人精品| 色综合色综合色综合色综合色综合| 欧美日韩高清影院| 久久久99免费| 日韩主播视频在线| 美女视频一区在线观看| 亚洲国产成人午夜在线一区| 久久久亚洲精品石原莉奈| 亚洲男人天堂一区| 美女任你摸久久| 色婷婷久久一区二区三区麻豆| 日韩欧美在线不卡| 亚洲人成网站精品片在线观看| 久久国产精品露脸对白| 波多野结衣中文一区| 日韩欧美成人午夜| 一区二区三区自拍| 国产精品2024| 日韩欧美一区中文| 亚洲成精国产精品女| 国产精品一二三四区| 这里只有精品视频在线观看| 亚洲精品v日韩精品| 欧美一区二区三区系列电影| 国产精品久久久久久久久果冻传媒| 午夜久久久久久电影| 欧美综合久久久| 一区二区高清在线| 在线看国产一区| 亚洲第一搞黄网站| 一本色道亚洲精品aⅴ| 亚洲日本丝袜连裤袜办公室| 成人av先锋影音| 亚洲视频一区在线| 91免费国产视频网站| 一区二区三区在线观看欧美 | 在线观看www91| 亚洲激情图片小说视频| 91蜜桃婷婷狠狠久久综合9色| 国产精品黄色在线观看| av亚洲精华国产精华精华| 亚洲男人天堂一区| xnxx国产精品| 不卡的av在线播放| 一片黄亚洲嫩模| 日韩欧美国产三级| 国产毛片精品国产一区二区三区| 国产精品三级av| 欧美私模裸体表演在线观看| 久久9热精品视频| 中文字幕在线不卡一区二区三区| 成人开心网精品视频| 亚洲图片欧美色图| 91精品国产综合久久精品app| 亚洲一区二区三区四区五区黄| 91精品国产91久久久久久一区二区| 另类小说图片综合网| 亚洲精品成人天堂一二三| 日韩精品在线一区二区| 99精品久久99久久久久| 久久99精品国产.久久久久| 亚洲欧美另类久久久精品2019| 亚洲女同女同女同女同女同69| 欧美日韩电影在线| 波波电影院一区二区三区| 激情久久五月天| 五月激情六月综合| 亚洲猫色日本管| 国产精品欧美久久久久一区二区| 日韩午夜精品电影| 欧美视频在线不卡| 色av综合在线| 99久久伊人网影院| 福利电影一区二区三区| 国内成人精品2018免费看| 日韩国产欧美一区二区三区| 中文字幕一区二区不卡| 中文字幕在线播放不卡一区| 久久夜色精品国产欧美乱极品| 久久综合色综合88| 国产一区二三区好的| 亚洲一区二区三区四区不卡| 亚洲婷婷在线视频| 亚洲欧美日韩久久精品| 亚洲欧美日韩一区二区三区在线观看 | 精品福利一区二区三区免费视频| 欧美日韩精品三区| 欧美日韩小视频| 日韩午夜av一区| 天天av天天翘天天综合网| ...中文天堂在线一区| 亚洲视频狠狠干| 亚洲国产成人精品视频| 日本不卡一区二区| 精品亚洲国产成人av制服丝袜| 国产乱码精品一区二区三| 色综合一个色综合| 91精品午夜视频| 亚洲国产精品v| 一区二区三区四区高清精品免费观看| 亚洲狠狠爱一区二区三区| 激情都市一区二区| 91免费版pro下载短视频| 91精品国产色综合久久ai换脸| 精品国产青草久久久久福利| 亚洲欧美综合网| 麻豆一区二区三| 色婷婷狠狠综合| 久久精品视频在线免费观看| 亚洲国产美女搞黄色| 国产suv一区二区三区88区| 欧美日韩成人综合天天影院| 国产拍欧美日韩视频二区| 免费成人在线视频观看| 色婷婷亚洲一区二区三区| 欧美va亚洲va| 视频精品一区二区| 91丨porny丨国产| 国产欧美一区二区精品久导航 | 国产亚洲精品bt天堂精选| 亚洲一区二区欧美激情| 99久久精品国产一区二区三区 | 亚洲国产精品精华液ab| 极品美女销魂一区二区三区免费 | 精品中文字幕一区二区| 欧美一区在线视频|