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
- DocumentPageHost.cs
- ProtocolImporter.cs
- TextTreeUndoUnit.cs
- CompositionAdorner.cs
- DetailsViewUpdateEventArgs.cs
- AtomContentProperty.cs
- LineSegment.cs
- IsolatedStorageFilePermission.cs
- ToolboxDataAttribute.cs
- PerformanceCounterManager.cs
- ExtensibleSyndicationObject.cs
- ContractSearchPattern.cs
- XamlLoadErrorInfo.cs
- GetWinFXPath.cs
- ListViewDataItem.cs
- FrameDimension.cs
- SchemaElementLookUpTableEnumerator.cs
- AliasExpr.cs
- FileSystemEventArgs.cs
- MsmqProcessProtocolHandler.cs
- ContainsSearchOperator.cs
- EpmSyndicationContentSerializer.cs
- CachedTypeface.cs
- Point.cs
- ProxyElement.cs
- BrowserCapabilitiesFactoryBase.cs
- Environment.cs
- EncodingDataItem.cs
- SiteMapSection.cs
- HeaderCollection.cs
- LocalizedNameDescriptionPair.cs
- LazyTextWriterCreator.cs
- CommandEventArgs.cs
- TransactionContextValidator.cs
- BrowserCapabilitiesCompiler.cs
- UniqueConstraint.cs
- EntityDataSourceConfigureObjectContext.cs
- StdValidatorsAndConverters.cs
- ByteArrayHelperWithString.cs
- SqlTransaction.cs
- DataListItem.cs
- XmlSchemaAppInfo.cs
- Serializer.cs
- ParameterToken.cs
- HtmlPhoneCallAdapter.cs
- SslStream.cs
- ListViewSelectEventArgs.cs
- FrameDimension.cs
- ResizeGrip.cs
- ParseElementCollection.cs
- ObjectDataSourceSelectingEventArgs.cs
- ResourceDisplayNameAttribute.cs
- TrackingProfileSerializer.cs
- XmlAutoDetectWriter.cs
- LoginNameDesigner.cs
- ECDiffieHellmanCngPublicKey.cs
- ConfigurationErrorsException.cs
- WhitespaceRuleLookup.cs
- AstTree.cs
- DynamicObjectAccessor.cs
- GZipDecoder.cs
- NativeCppClassAttribute.cs
- SymDocumentType.cs
- SchemaMerger.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ButtonBase.cs
- Timer.cs
- MouseEventArgs.cs
- StylusCaptureWithinProperty.cs
- SortedList.cs
- BaseDataListActionList.cs
- Typeface.cs
- ColumnMapTranslator.cs
- UnsafeNativeMethodsTablet.cs
- EntityType.cs
- HostedHttpTransportManager.cs
- WindowsTokenRoleProvider.cs
- SQLInt16Storage.cs
- MatrixTransform3D.cs
- ProcessThread.cs
- HttpWebResponse.cs
- KeyboardNavigation.cs
- PropertyToken.cs
- ExceptionUtil.cs
- DataGridViewCellValidatingEventArgs.cs
- SqlCommandSet.cs
- StateMachineDesignerPaint.cs
- ObsoleteAttribute.cs
- ByteStorage.cs
- brushes.cs
- QueryReaderSettings.cs
- Table.cs
- XmlDictionaryReaderQuotas.cs
- CoTaskMemHandle.cs
- FieldBuilder.cs
- SortFieldComparer.cs
- MultiBinding.cs
- DelegatedStream.cs
- WindowsBrush.cs
- ObjectSecurity.cs