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

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

?? compositeproperties.cs

?? 詳細講述了數據庫編程
?? CS
字號:
#region Copyright & License
//
// Copyright 2001-2005 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
#endregion

using System;
using System.Collections;

namespace log4net.Util
{
	/// <summary>
	/// This class aggregates several PropertiesDictionary collections together.
	/// </summary>
	/// <remarks>
	/// <para>
	/// Provides a dictionary style lookup over an ordered list of
	/// <see cref="PropertiesDictionary"/> collections.
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	public sealed class CompositeProperties
	{
		#region Private Instance Fields

		private PropertiesDictionary m_flattened = null;
		private ArrayList m_nestedProperties = new ArrayList();

		#endregion Private Instance Fields

		#region Public Instance Constructors

		/// <summary>
		/// Constructor
		/// </summary>
		/// <remarks>
		/// <para>
		/// Initializes a new instance of the <see cref="CompositeProperties" /> class.
		/// </para>
		/// </remarks>
		internal CompositeProperties()
		{
		}

		#endregion Public Instance Constructors

		#region Public Instance Properties

		/// <summary>
		/// Gets the value of a property
		/// </summary>
		/// <value>
		/// The value for the property with the specified key
		/// </value>
		/// <remarks>
		/// <para>
		/// Looks up the value for the <paramref name="key" /> specified.
		/// The <see cref="PropertiesDictionary"/> collections are searched
		/// in the order in which they were added to this collection. The value
		/// returned is the value held by the first collection that contains
		/// the specified key.
		/// </para>
		/// <para>
		/// If none of the collections contain the specified key then
		/// <c>null</c> is returned.
		/// </para>
		/// </remarks>
		public object this[string key]
		{
			get 
			{
				// Look in the flattened properties first
				if (m_flattened != null)
				{
					return m_flattened[key];
				}

				// Look for the key in all the nested properties
				foreach(ReadOnlyPropertiesDictionary cur in m_nestedProperties)
				{
					if (cur.Contains(key))
					{
						return cur[key];
					}
				}
				return null;
			}
		}

		#endregion Public Instance Properties

		#region Public Instance Methods

		/// <summary>
		/// Add a Properties Dictionary to this composite collection
		/// </summary>
		/// <param name="properties">the properties to add</param>
		/// <remarks>
		/// <para>
		/// Properties dictionaries added first take precedence over dictionaries added
		/// later.
		/// </para>
		/// </remarks>
		public void Add(ReadOnlyPropertiesDictionary properties)
		{
			m_flattened = null;
			m_nestedProperties.Add(properties);
		}

		/// <summary>
		/// Flatten this composite collection into a single properties dictionary
		/// </summary>
		/// <returns>the flattened dictionary</returns>
		/// <remarks>
		/// <para>
		/// Reduces the collection of ordered dictionaries to a single dictionary
		/// containing the resultant values for the keys.
		/// </para>
		/// </remarks>
		public PropertiesDictionary Flatten()
		{
			if (m_flattened == null)
			{
				m_flattened = new PropertiesDictionary();

				for(int i=m_nestedProperties.Count; --i>=0; )
				{
					ReadOnlyPropertiesDictionary cur = (ReadOnlyPropertiesDictionary)m_nestedProperties[i];

					foreach(DictionaryEntry entry in cur)
					{
						m_flattened[(string)entry.Key] = entry.Value;
					}
				}
			}
			return m_flattened;
		}

		#endregion Public Instance Methods
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲日本电影在线| 亚洲最新视频在线观看| 国产主播一区二区三区| 久久久亚洲国产美女国产盗摄| 成人欧美一区二区三区在线播放| 激情小说欧美图片| 久久精品一区二区| 99精品视频免费在线观看| 国产精品久久久久久久久免费相片 | 欧美日韩亚洲综合| 国产喂奶挤奶一区二区三区| 国产91清纯白嫩初高中在线观看| 国产精品看片你懂得| 欧美日韩免费观看一区三区| 激情欧美日韩一区二区| 中文字幕一区二区三区精华液 | 美女一区二区视频| 久久午夜老司机| 欧洲色大大久久| 成人午夜私人影院| 蜜桃av一区二区三区| 亚洲精选免费视频| 久久久三级国产网站| 欧美日本韩国一区| 91蝌蚪porny成人天涯| 精品一区二区国语对白| 亚洲一区二区在线视频| 亚洲欧洲在线观看av| 日韩一本二本av| 3d成人h动漫网站入口| 欧美在线免费观看视频| 色噜噜狠狠成人网p站| www.亚洲激情.com| 另类成人小视频在线| 国产精品久久久久婷婷| 国产日本一区二区| 精品久久五月天| 精品国产免费人成在线观看| 91精品国产色综合久久不卡电影| 日本乱人伦aⅴ精品| 91九色02白丝porn| 99精品视频在线观看| 亚洲线精品一区二区三区| 国产精品久99| 亚洲欧洲精品天堂一级 | 在线日韩国产精品| 国产69精品久久久久777| 国产精品一区二区免费不卡| 日本一不卡视频| 久久99精品一区二区三区| 亚洲成人免费电影| 久久99精品久久久久| 精品一区二区三区蜜桃| 久久91精品久久久久久秒播| 久久99热这里只有精品| 麻豆91精品91久久久的内涵| 久久99精品国产麻豆婷婷 | 蜜臀av一区二区三区| 久久国产精品免费| 97久久精品人人做人人爽| 在线免费亚洲电影| 精品久久久久久久久久久院品网| 欧美变态tickling挠脚心| 国产欧美一区二区精品忘忧草| 日韩欧美国产系列| 亚洲国产精品t66y| 午夜不卡av免费| 亚洲成人av在线电影| 成人va在线观看| 欧美成人高清电影在线| 色吊一区二区三区| 色综合久久天天综合网| 精品国产不卡一区二区三区| 国产精品色婷婷久久58| 精品一区二区三区在线观看国产| 91在线porny国产在线看| 精品少妇一区二区三区| 亚洲一区中文在线| 丰满少妇在线播放bd日韩电影| 精品人伦一区二区色婷婷| 亚洲女人****多毛耸耸8| 久久国产精品免费| 欧美成人精品二区三区99精品| 亚洲成在人线免费| 欧美日韩国产精选| 亚洲一区电影777| 欧美日韩精品一区二区三区| 亚洲精品欧美综合四区| 91成人免费在线视频| 亚洲欧美偷拍三级| 欧美日韩亚洲综合在线 | 这里只有精品电影| 亚洲成a人片在线观看中文| 在线视频一区二区三| 亚洲国产精品一区二区www| 91精品国产乱| 国产美女av一区二区三区| 国产欧美日韩亚州综合| 成人黄色国产精品网站大全在线免费观看| 欧美一级高清片在线观看| 狠狠狠色丁香婷婷综合激情| 日本一区二区成人| 成人免费看的视频| 亚洲一区二区在线视频| 日韩午夜激情av| 成人免费毛片app| 污片在线观看一区二区| 久久看人人爽人人| 色婷婷av一区| 丁香婷婷综合网| 亚洲h动漫在线| 91久久精品一区二区三| 一区二区国产盗摄色噜噜| 91精品久久久久久久91蜜桃| 波多野结衣中文字幕一区 | 日韩中文字幕区一区有砖一区 | 国产在线精品一区二区夜色| 国产精品久久三| 欧美日韩电影一区| 欧美四级电影在线观看| 久久国产福利国产秒拍| 亚洲一区二区精品视频| 日本一区二区电影| 国产肉丝袜一区二区| 久久这里只有精品视频网| 日韩一区二区三免费高清| 777亚洲妇女| 欧美日韩一区二区在线视频| 色综合色狠狠综合色| 99久久精品国产一区| bt7086福利一区国产| 蜜臀久久99精品久久久画质超高清 | 亚洲精品中文在线观看| 亚洲日本va在线观看| 国产精品久久久久久久久久免费看| 7777精品伊人久久久大香线蕉最新版| 99久精品国产| 欧美手机在线视频| 精品国偷自产国产一区| 国产三级一区二区三区| 精品国产免费一区二区三区四区 | 国产黄色精品视频| 国产不卡在线一区| 国产在线播精品第三| 99re成人精品视频| 色综合色狠狠天天综合色| 福利视频网站一区二区三区| 国产乱码精品一品二品| 成人av片在线观看| 精品国产一区久久| 亚洲男人天堂一区| 一区二区三区四区国产精品| 日本成人中文字幕在线视频 | 国产欧美一区二区精品性色| 亚洲国产精品久久人人爱| 大白屁股一区二区视频| 欧美日韩国产综合一区二区 | 久久先锋影音av| 亚洲高清不卡在线| 亚洲高清视频在线| 91蜜桃在线观看| 91亚洲精品久久久蜜桃网站| 成人一区二区三区视频在线观看| 成人a级免费电影| 日韩一区二区精品在线观看| 中文字幕精品三区| 青青草成人在线观看| 色久综合一二码| 日韩精品一区二区三区蜜臀| 亚洲精品国产一区二区精华液 | 久久精品国产一区二区三| 国产精品一线二线三线| 欧美日韩三级一区| 国产精品国产a| 蜜桃一区二区三区四区| 色综合网站在线| 国产欧美一区二区精品忘忧草| 亚洲成人tv网| 色哟哟国产精品| 欧美—级在线免费片| 九一九一国产精品| 51久久夜色精品国产麻豆| 亚洲少妇30p| 成人免费高清在线| 久久精品在线免费观看| 久久国产人妖系列| 91麻豆精品国产自产在线| 亚洲大尺度视频在线观看| 色综合天天综合狠狠| 国产精品伦一区二区三级视频| 国产一区三区三区| 337p粉嫩大胆噜噜噜噜噜91av | 粉嫩一区二区三区在线看| 久久综合九色综合欧美98| 蜜桃av一区二区三区| 日韩视频在线你懂得| 日日夜夜精品免费视频| 这里只有精品99re| 奇米888四色在线精品| 欧美一区二区三区日韩|