Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / safelinkcollection.cs / 1305376 / safelinkcollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Metadata.Edm; using System.Diagnostics; namespace System.Data.Metadata.Edm { ////// This class attempts to make a double linked connection between a parent and child withou /// exposing the properties publicly that would allow them to be mutible and possibly dangerous /// in a multithreading environment /// ////// internal class SafeLinkCollection : ReadOnlyMetadataCollection where TChild : MetadataItem where TParent : class { public SafeLinkCollection(TParent parent, Func > getLink, MetadataCollection children) : base((IList )SafeLink .BindChildren(parent, getLink, children)) { } } } // 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
- DnsPermission.cs
- TemplateControlParser.cs
- StrokeCollection.cs
- TypeInitializationException.cs
- EffectiveValueEntry.cs
- Compress.cs
- Int16Animation.cs
- wmiprovider.cs
- FontStyle.cs
- DataGridViewCellLinkedList.cs
- NotificationContext.cs
- TreeIterator.cs
- ContextMenuAutomationPeer.cs
- TableCellsCollectionEditor.cs
- UdpMessageProperty.cs
- DoubleAnimationBase.cs
- Zone.cs
- RawMouseInputReport.cs
- ImageCodecInfoPrivate.cs
- LayoutEditorPart.cs
- ToolboxItem.cs
- PopupControlService.cs
- TransformConverter.cs
- WCFBuildProvider.cs
- XmlNavigatorStack.cs
- DictionaryCustomTypeDescriptor.cs
- WindowsStatic.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- InternalTypeHelper.cs
- PropertyChangingEventArgs.cs
- LayoutInformation.cs
- OrderedHashRepartitionStream.cs
- SecurityTokenProviderContainer.cs
- EditingCoordinator.cs
- EditorZone.cs
- InputLanguageCollection.cs
- XmlStreamStore.cs
- HashCodeCombiner.cs
- GradientStop.cs
- RowUpdatedEventArgs.cs
- SecurityState.cs
- WebEventCodes.cs
- BufferedMessageData.cs
- SourceElementsCollection.cs
- TableLayoutStyle.cs
- PeerName.cs
- InheritanceRules.cs
- OAVariantLib.cs
- SnapLine.cs
- CharConverter.cs
- SuppressIldasmAttribute.cs
- Command.cs
- EdgeProfileValidation.cs
- ProgressBar.cs
- BinaryConverter.cs
- DeviceSpecificDesigner.cs
- ZipIOCentralDirectoryFileHeader.cs
- COMException.cs
- HashCodeCombiner.cs
- QueryMatcher.cs
- TrackingLocation.cs
- BooleanKeyFrameCollection.cs
- AttributeConverter.cs
- HandledEventArgs.cs
- BinaryWriter.cs
- TreeNode.cs
- ScrollItemPatternIdentifiers.cs
- DetailsViewModeEventArgs.cs
- DropDownHolder.cs
- BitmapEffectrendercontext.cs
- CompilerCollection.cs
- FormViewRow.cs
- ObjectContext.cs
- DiagnosticsConfigurationHandler.cs
- HelpEvent.cs
- HeaderCollection.cs
- BitmapFrame.cs
- DataSourceDescriptorCollection.cs
- StronglyTypedResourceBuilder.cs
- TemplateBindingExpressionConverter.cs
- XsdCachingReader.cs
- SelectorAutomationPeer.cs
- PrimitiveType.cs
- ReadOnlyDictionary.cs
- ThreadPool.cs
- EnvironmentPermission.cs
- TimeSpanSecondsConverter.cs
- AutoCompleteStringCollection.cs
- CommandEventArgs.cs
- DataKey.cs
- MissingMemberException.cs
- VisualBrush.cs
- InvokeHandlers.cs
- JoinGraph.cs
- Substitution.cs
- safesecurityhelperavalon.cs
- AutomationProperty.cs
- HMACSHA1.cs
- EmptyStringExpandableObjectConverter.cs
- WebPartZone.cs