Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / HttpDictionary.cs / 1305376 / HttpDictionary.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* Ordered dictionary keyed by string
* -- Utility class used in Collections
*
* Copyright (c) 1998 Microsoft Corporation
*/
namespace System.Web {
using System.Collections;
using System.Collections.Specialized;
using System.Web.Util;
internal class HttpDictionary : NameObjectCollectionBase {
internal HttpDictionary(): base(Misc.CaseInsensitiveInvariantKeyComparer) {
}
internal int Size {
get { return Count;}
}
internal Object GetValue(String key) {
return BaseGet(key);
}
internal void SetValue(String key, Object value) {
BaseSet(key, value);
}
internal Object GetValue(int index) {
return BaseGet(index);
}
internal String GetKey(int index) {
return BaseGetKey(index);
}
internal String[] GetAllKeys() {
return BaseGetAllKeys();
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* Ordered dictionary keyed by string
* -- Utility class used in Collections
*
* Copyright (c) 1998 Microsoft Corporation
*/
namespace System.Web {
using System.Collections;
using System.Collections.Specialized;
using System.Web.Util;
internal class HttpDictionary : NameObjectCollectionBase {
internal HttpDictionary(): base(Misc.CaseInsensitiveInvariantKeyComparer) {
}
internal int Size {
get { return Count;}
}
internal Object GetValue(String key) {
return BaseGet(key);
}
internal void SetValue(String key, Object value) {
BaseSet(key, value);
}
internal Object GetValue(int index) {
return BaseGet(index);
}
internal String GetKey(int index) {
return BaseGetKey(index);
}
internal String[] GetAllKeys() {
return BaseGetAllKeys();
}
}
}
// 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
- ActivationArguments.cs
- InkCanvasFeedbackAdorner.cs
- FileDialog_Vista_Interop.cs
- SiteMap.cs
- _ConnectionGroup.cs
- SizeFConverter.cs
- TextServicesProperty.cs
- Msec.cs
- CacheAxisQuery.cs
- AsmxEndpointPickerExtension.cs
- Label.cs
- DirectoryObjectSecurity.cs
- FormsAuthentication.cs
- ShapingEngine.cs
- ValidationRuleCollection.cs
- SqlGatherProducedAliases.cs
- OrderedEnumerableRowCollection.cs
- ToolboxService.cs
- ListControlStringCollectionEditor.cs
- XPathNodeIterator.cs
- RawStylusSystemGestureInputReport.cs
- XNodeSchemaApplier.cs
- UInt32.cs
- TextInfo.cs
- BreakSafeBase.cs
- HtmlElementErrorEventArgs.cs
- EdmToObjectNamespaceMap.cs
- MultilineStringConverter.cs
- Utils.cs
- CustomAttributeSerializer.cs
- Nullable.cs
- Funcletizer.cs
- CursorEditor.cs
- xsdvalidator.cs
- WebHttpBindingElement.cs
- SqlDataSourceView.cs
- TaskDesigner.cs
- WhitespaceRule.cs
- DataGridItemEventArgs.cs
- WebServiceErrorEvent.cs
- TextContainerHelper.cs
- IpcManager.cs
- MarkupExtensionParser.cs
- NavigationService.cs
- ListViewDeleteEventArgs.cs
- ResourceProperty.cs
- StoreItemCollection.cs
- JsonStringDataContract.cs
- Vector3DCollection.cs
- DeferredTextReference.cs
- PropertyValueUIItem.cs
- Model3D.cs
- PatternMatcher.cs
- XamlBrushSerializer.cs
- figurelengthconverter.cs
- XsdDateTime.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- NullReferenceException.cs
- EntityCodeGenerator.cs
- ScriptRegistrationManager.cs
- TextInfo.cs
- LifetimeServices.cs
- MaterialCollection.cs
- TargetControlTypeCache.cs
- COAUTHIDENTITY.cs
- SuppressMergeCheckAttribute.cs
- counter.cs
- SafeNativeMethods.cs
- HtmlMeta.cs
- X509Extension.cs
- LoaderAllocator.cs
- SmtpReplyReader.cs
- ConfigurationManagerInternal.cs
- PlanCompiler.cs
- TypeContext.cs
- Content.cs
- FtpWebResponse.cs
- GeneratedCodeAttribute.cs
- MarkerProperties.cs
- MultiByteCodec.cs
- PresentationTraceSources.cs
- ProjectionPath.cs
- InputQueue.cs
- HttpContext.cs
- DictionaryKeyPropertyAttribute.cs
- BrowserCapabilitiesFactory35.cs
- FixedSOMTableCell.cs
- OleDbError.cs
- Identity.cs
- Margins.cs
- ThreadAttributes.cs
- initElementDictionary.cs
- Types.cs
- IisTraceWebEventProvider.cs
- CharacterString.cs
- PnrpPermission.cs
- HierarchicalDataBoundControl.cs
- QuotedStringFormatReader.cs
- StatusBarDrawItemEvent.cs
- DBConnection.cs