Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / ReadOnlyKeyedCollection.cs / 1305376 / ReadOnlyKeyedCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime { using System.Collections.ObjectModel; class ReadOnlyKeyedCollection: ReadOnlyCollection { KeyedCollection innerCollection; public ReadOnlyKeyedCollection(KeyedCollection innerCollection) : base(innerCollection) { Fx.Assert(innerCollection != null, "innerCollection should not be null"); this.innerCollection = innerCollection; } public TValue this[TKey key] { get { return this.innerCollection[key]; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Runtime { using System.Collections.ObjectModel; class ReadOnlyKeyedCollection : ReadOnlyCollection { KeyedCollection innerCollection; public ReadOnlyKeyedCollection(KeyedCollection innerCollection) : base(innerCollection) { Fx.Assert(innerCollection != null, "innerCollection should not be null"); this.innerCollection = innerCollection; } public TValue this[TKey key] { get { return this.innerCollection[key]; } } } } // 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
- AssemblyBuilder.cs
- FlowchartStart.xaml.cs
- LexicalChunk.cs
- AlignmentXValidation.cs
- _IPv6Address.cs
- ConnectionOrientedTransportChannelListener.cs
- HotSpotCollection.cs
- DateRangeEvent.cs
- ListViewInsertEventArgs.cs
- CompilerGlobalScopeAttribute.cs
- SerializationException.cs
- MapPathBasedVirtualPathProvider.cs
- Object.cs
- CompiledAction.cs
- SpeechSynthesizer.cs
- LinearGradientBrush.cs
- ReadOnlyActivityGlyph.cs
- EntityDesignPluralizationHandler.cs
- TextDpi.cs
- WhileDesigner.xaml.cs
- XPathSelectionIterator.cs
- TypeDescriptionProvider.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- DispatcherHooks.cs
- AnonymousIdentificationSection.cs
- TabletCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- DSASignatureDeformatter.cs
- DataTableExtensions.cs
- AttachInfo.cs
- ClientCredentialsSecurityTokenManager.cs
- ApplicationTrust.cs
- Msec.cs
- MenuItemAutomationPeer.cs
- ListMarkerSourceInfo.cs
- ContentPresenter.cs
- ValidatingReaderNodeData.cs
- DBCommandBuilder.cs
- CompiledQueryCacheEntry.cs
- WebControl.cs
- InfoCardTraceRecord.cs
- ThrowHelper.cs
- ProtocolsConfigurationHandler.cs
- RadioButtonBaseAdapter.cs
- SimpleNameService.cs
- ObfuscationAttribute.cs
- GacUtil.cs
- ToolStripAdornerWindowService.cs
- AspNetHostingPermission.cs
- TextEditorContextMenu.cs
- serverconfig.cs
- PropertyItemInternal.cs
- CatalogZoneBase.cs
- LazyTextWriterCreator.cs
- DbProviderFactory.cs
- WorkflowRuntimeSection.cs
- DrawingImage.cs
- HttpResponseInternalWrapper.cs
- ValueQuery.cs
- AppDomainEvidenceFactory.cs
- TokenBasedSet.cs
- EntityViewGenerationAttribute.cs
- ErrorWrapper.cs
- ButtonChrome.cs
- SortQuery.cs
- SmtpFailedRecipientException.cs
- DoubleCollectionValueSerializer.cs
- HttpResponseBase.cs
- FixedSOMLineCollection.cs
- OleDbParameterCollection.cs
- ObjectStateManager.cs
- MetadataArtifactLoaderFile.cs
- SequenceFullException.cs
- TraceEventCache.cs
- TemplateInstanceAttribute.cs
- SelectionEditingBehavior.cs
- XmlSchemaComplexContentRestriction.cs
- HttpCacheVaryByContentEncodings.cs
- CheckBox.cs
- ConditionChanges.cs
- printdlgexmarshaler.cs
- ElementUtil.cs
- Point3DAnimation.cs
- HtmlInputRadioButton.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- AudioDeviceOut.cs
- SchemaImporter.cs
- UserPersonalizationStateInfo.cs
- EFDataModelProvider.cs
- TypeValidationEventArgs.cs
- HWStack.cs
- Label.cs
- InputBinder.cs
- ForEach.cs
- ExtentKey.cs
- CodeVariableDeclarationStatement.cs
- CompressionTransform.cs
- RIPEMD160Managed.cs
- ProcessHostServerConfig.cs
- BasicAsyncResult.cs