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

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

?? logicalthreadcontextproperties.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

// .NET Compact Framework 1.0 has no support for System.Runtime.Remoting.Messaging.CallContext
#if !NETCF

using System;
using System.Collections;

using System.Runtime.Remoting.Messaging;

namespace log4net.Util
{
	/// <summary>
	/// Implementation of Properties collection for the <see cref="log4net.LogicalThreadContext"/>
	/// </summary>
	/// <remarks>
	/// <para>
	/// Class implements a collection of properties that is specific to each thread.
	/// The class is not synchronized as each thread has its own <see cref="PropertiesDictionary"/>.
	/// </para>
	/// </remarks>
	/// <author>Nicko Cadell</author>
	public sealed class LogicalThreadContextProperties : ContextPropertiesBase
	{
		#region Public Instance Constructors

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

		#endregion Public Instance Constructors

		#region Public Instance Properties

		/// <summary>
		/// Gets or sets the value of a property
		/// </summary>
		/// <value>
		/// The value for the property with the specified key
		/// </value>
		/// <remarks>
		/// <para>
		/// Get or set the property value for the <paramref name="key"/> specified.
		/// </para>
		/// </remarks>
		override public object this[string key]
		{
			get 
			{ 
				// Don't create the dictionary if it does not already exist
				PropertiesDictionary dictionary = GetProperties(false);
				if (dictionary != null)
				{
					return dictionary[key]; 
				}
				return null;
			}
			set 
			{ 
				// Force the dictionary to be created
				GetProperties(true)[key] = value; 
			}
		}

		#endregion Public Instance Properties

		#region Public Instance Methods

		/// <summary>
		/// Remove a property
		/// </summary>
		/// <param name="key">the key for the entry to remove</param>
		/// <remarks>
		/// <para>
		/// Remove the value for the specified <paramref name="key"/> from the context.
		/// </para>
		/// </remarks>
		public void Remove(string key)
		{
			PropertiesDictionary dictionary = GetProperties(false);
			if (dictionary != null)
			{
				dictionary.Remove(key);
			}
		}

		/// <summary>
		/// Clear all the context properties
		/// </summary>
		/// <remarks>
		/// <para>
		/// Clear all the context properties
		/// </para>
		/// </remarks>
		public void Clear()
		{
			PropertiesDictionary dictionary = GetProperties(false);
			if (dictionary != null)
			{
				dictionary.Clear();
			}
		}

		#endregion Public Instance Methods

		#region Internal Instance Methods

		/// <summary>
		/// Get the PropertiesDictionary stored in the LocalDataStoreSlot for this thread.
		/// </summary>
		/// <param name="create">create the dictionary if it does not exist, otherwise return null if is does not exist</param>
		/// <returns>the properties for this thread</returns>
		/// <remarks>
		/// <para>
		/// The collection returned is only to be used on the calling thread. If the
		/// caller needs to share the collection between different threads then the 
		/// caller must clone the collection before doings so.
		/// </para>
		/// </remarks>
		internal PropertiesDictionary GetProperties(bool create)
		{
			PropertiesDictionary properties = (PropertiesDictionary)CallContext.GetData("log4net.Util.LogicalThreadContextProperties");
			if (properties == null && create)
			{
				properties  = new PropertiesDictionary();
				CallContext.SetData("log4net.Util.LogicalThreadContextProperties", properties);
			}
			return properties;
		}

		#endregion Internal Instance Methods
	}
}

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品大片www| 奇米色一区二区| 欧美va亚洲va在线观看蝴蝶网| 国产999精品久久| 三级不卡在线观看| 亚洲天天做日日做天天谢日日欢 | 丰满岳乱妇一区二区三区| 亚洲精品国产视频| 国产网站一区二区三区| 91精品国产色综合久久| 欧洲av在线精品| 国产不卡一区视频| 久久精品国产成人一区二区三区 | 亚洲一区二区三区在线播放| 国产欧美日韩卡一| 精品三级av在线| 欧美久久一区二区| 色婷婷综合在线| 成人动漫视频在线| 高清久久久久久| 国内精品久久久久影院薰衣草 | 成人激情免费视频| 国产一区二区三区四| 免费不卡在线视频| 香蕉久久夜色精品国产使用方法 | 国产一区二区不卡老阿姨| 性感美女久久精品| 国产午夜精品在线观看| 成人av免费在线播放| 狠狠色丁香久久婷婷综合_中| 成人污视频在线观看| 九一久久久久久| 美女在线视频一区| 首页国产丝袜综合| 偷拍日韩校园综合在线| 国内精品伊人久久久久av一坑 | 国产女人水真多18毛片18精品视频 | 亚洲综合激情网| 亚洲日本青草视频在线怡红院| 中文字幕乱码一区二区免费| 欧美国产在线观看| 国产精品麻豆久久久| 国产亚洲午夜高清国产拍精品| 久久久久久久综合日本| 久久综合资源网| 欧美www视频| 91精品婷婷国产综合久久竹菊| 欧美精品三级在线观看| 欧美日韩国产高清一区二区三区| 欧美日韩国产成人在线91| 欧美日韩国产一级| 欧美一区二区精品在线| 精品国产网站在线观看| 久久久久久9999| 国产精品久久三区| 亚洲尤物在线视频观看| 首页国产欧美久久| 久久精品av麻豆的观看方式| 国产一区不卡精品| 99热精品国产| 欧美专区在线观看一区| 91精品国产综合久久久蜜臀粉嫩 | 欧美精品一区二区三| 国产清纯美女被跳蛋高潮一区二区久久w| 国产女主播一区| 亚洲在线观看免费视频| 男人的天堂久久精品| 国内成人自拍视频| 91在线看国产| 欧美日韩一区中文字幕| 日韩一区二区影院| 中文字幕成人网| 亚洲午夜电影在线观看| 精品在线观看视频| 91免费看视频| 日韩欧美久久久| 中文字幕字幕中文在线中不卡视频| 亚洲国产精品一区二区www在线| 美女视频网站久久| 99久久99久久综合| 91精品国产高清一区二区三区蜜臀| 久久综合九色综合97婷婷女人| 国产精品电影院| 男人的j进女人的j一区| 色综合夜色一区| 国产suv精品一区二区6| 91麻豆成人久久精品二区三区| 91精品国产91热久久久做人人| 国产无一区二区| 日韩电影网1区2区| av高清不卡在线| 久久综合精品国产一区二区三区| 136国产福利精品导航| 婷婷丁香久久五月婷婷| 成人国产精品免费观看动漫| 777亚洲妇女| 樱桃国产成人精品视频| 国产成人自拍网| 欧美一级理论片| 中文字幕乱码久久午夜不卡| 免费av成人在线| 精品视频在线免费| 国产精品看片你懂得| 日韩**一区毛片| 欧美性xxxxx极品少妇| 国产欧美日韩久久| 国产揄拍国内精品对白| 7777女厕盗摄久久久| 亚洲一区二区三区在线播放| proumb性欧美在线观看| 久久伊99综合婷婷久久伊| 视频一区中文字幕国产| 91国偷自产一区二区三区成为亚洲经典 | 色综合婷婷久久| 欧美国产激情二区三区 | 91精品国产综合久久久久| 伊人婷婷欧美激情| 成人av电影观看| 久久久久综合网| 玖玖九九国产精品| 日韩一卡二卡三卡| 男女视频一区二区| 欧美色图免费看| 亚洲一区在线观看视频| 色哟哟一区二区三区| 综合av第一页| 99久久精品一区| 国产精品久久久久桃色tv| 丁香婷婷深情五月亚洲| 久久精品亚洲精品国产欧美 | 欧美性感一类影片在线播放| 亚洲精品免费在线| 91国在线观看| 亚洲第四色夜色| 4hu四虎永久在线影院成人| 亚洲一区二区三区四区在线免费观看| 91在线免费播放| 亚洲裸体在线观看| 色欧美片视频在线观看在线视频| 自拍偷拍欧美精品| 一本到一区二区三区| 亚洲午夜精品一区二区三区他趣| 色激情天天射综合网| 欧美日韩国产首页在线观看| 自拍偷拍国产精品| av中文字幕在线不卡| 国产精品第13页| 91丝袜呻吟高潮美腿白嫩在线观看| 国产精品妹子av| 色成人在线视频| 首页综合国产亚洲丝袜| 日韩午夜av一区| 国产精品一二三| 亚洲人成小说网站色在线| 在线这里只有精品| 美女精品自拍一二三四| 久久综合九色综合97婷婷| 播五月开心婷婷综合| 亚洲午夜国产一区99re久久| 欧美一级艳片视频免费观看| 经典三级视频一区| 国产精品久久看| 欧美日韩一区二区三区在线看| 免费看日韩a级影片| 成人免费看的视频| 五月天一区二区| 一区二区三区中文在线| 久久精品一区八戒影视| 国产亚洲欧美日韩俺去了| 亚洲裸体在线观看| 91 com成人网| 亚洲男同1069视频| 成人av电影在线播放| 午夜影视日本亚洲欧洲精品| 制服丝袜亚洲网站| 波多野洁衣一区| 国产精品白丝在线| 成人午夜精品一区二区三区| a级精品国产片在线观看| 欧美在线观看视频一区二区| 色呦呦日韩精品| 欧美成人国产一区二区| 久久精品夜色噜噜亚洲aⅴ| 欧美激情中文字幕一区二区| 亚洲女与黑人做爰| 日韩电影一二三区| 福利91精品一区二区三区| av不卡在线观看| 欧美日韩国产天堂| 中文字幕乱码一区二区免费| 亚洲一区二区三区四区五区黄 | 青青草精品视频| 青青国产91久久久久久| 成人在线视频一区二区| 在线观看视频一区二区欧美日韩| 欧美日韩免费电影| 国产精品人成在线观看免费| 麻豆精品视频在线观看视频| 成人天堂资源www在线| 69p69国产精品|