Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Collections / KeyValuePairs.cs / 1 / KeyValuePairs.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: KeyValuePairs
**
**
** Purpose: KeyValuePairs to display items in collection class under debugger
**
**
===========================================================*/
namespace System.Collections {
using System.Diagnostics;
[DebuggerDisplay("{value}", Name = "[{key}]", Type = "" )]
internal class KeyValuePairs {
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private object key;
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private object value;
public KeyValuePairs(object key, object value) {
this.value = value;
this.key = key;
}
public object Key {
get { return key; }
}
public object Value {
get { return value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
/*============================================================
**
** Class: KeyValuePairs
**
**
** Purpose: KeyValuePairs to display items in collection class under debugger
**
**
===========================================================*/
namespace System.Collections {
using System.Diagnostics;
[DebuggerDisplay("{value}", Name = "[{key}]", Type = "" )]
internal class KeyValuePairs {
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private object key;
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private object value;
public KeyValuePairs(object key, object value) {
this.value = value;
this.key = key;
}
public object Key {
get { return key; }
}
public object Value {
get { return value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridSplitterAutomationPeer.cs
- EmptyImpersonationContext.cs
- TextTreeObjectNode.cs
- ReadWriteObjectLock.cs
- SRDisplayNameAttribute.cs
- Stack.cs
- HealthMonitoringSection.cs
- ClonableStack.cs
- ClusterUtils.cs
- ObjectDataSourceChooseTypePanel.cs
- MsmqProcessProtocolHandler.cs
- LinkedList.cs
- FastEncoderStatics.cs
- ViewKeyConstraint.cs
- ObjectStateFormatter.cs
- XmlSerializerVersionAttribute.cs
- Literal.cs
- StylusShape.cs
- CompatibleIComparer.cs
- Int16.cs
- TypeLibConverter.cs
- SectionXmlInfo.cs
- LinearKeyFrames.cs
- sqlcontext.cs
- XmlAttributeCollection.cs
- EndpointAddress10.cs
- SocketPermission.cs
- MouseButtonEventArgs.cs
- _CommandStream.cs
- SqlUDTStorage.cs
- XmlObjectSerializerWriteContext.cs
- ConditionalAttribute.cs
- DoubleAnimationBase.cs
- TextBox.cs
- TokenBasedSet.cs
- BitmapSizeOptions.cs
- ConsumerConnectionPoint.cs
- LocalizationComments.cs
- RenderDataDrawingContext.cs
- WebPartAuthorizationEventArgs.cs
- ListView.cs
- PropertyKey.cs
- RegisteredScript.cs
- SqlGenerator.cs
- HwndHostAutomationPeer.cs
- SqlComparer.cs
- StoreConnection.cs
- FileSystemInfo.cs
- ListBoxChrome.cs
- ImageSource.cs
- ViewManager.cs
- NativeMethods.cs
- StorageModelBuildProvider.cs
- ConfigXmlElement.cs
- EdmSchemaAttribute.cs
- _SslSessionsCache.cs
- DesignBindingPicker.cs
- MobileRedirect.cs
- XmlSchemaSimpleContent.cs
- SecurityException.cs
- MulticastIPAddressInformationCollection.cs
- LineGeometry.cs
- WMIGenerator.cs
- UserControl.cs
- DataTable.cs
- WebHttpElement.cs
- EntryWrittenEventArgs.cs
- COSERVERINFO.cs
- OneOfScalarConst.cs
- ContentPathSegment.cs
- MobileControlDesigner.cs
- Image.cs
- ApplicationFileParser.cs
- PaintEvent.cs
- StringInfo.cs
- SqlAliasesReferenced.cs
- EntityKey.cs
- QueueProcessor.cs
- TimersDescriptionAttribute.cs
- Deflater.cs
- WebHostedComPlusServiceHost.cs
- BinarySecretSecurityToken.cs
- BamlStream.cs
- EdmEntityTypeAttribute.cs
- ToolBarOverflowPanel.cs
- SrgsText.cs
- PropertyConverter.cs
- SqlTrackingWorkflowInstance.cs
- XmlEnumAttribute.cs
- WebBrowser.cs
- EventLogPermission.cs
- SqlFacetAttribute.cs
- InputElement.cs
- MenuCommandService.cs
- SubpageParagraph.cs
- PreviewPrintController.cs
- WebEvents.cs
- ProviderConnectionPoint.cs
- ScriptComponentDescriptor.cs
- IgnoreFlushAndCloseStream.cs