Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / safelinkcollection.cs / 1 / safelinkcollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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
- DataRowCollection.cs
- TPLETWProvider.cs
- TraceData.cs
- ShaderEffect.cs
- _UncName.cs
- CommentEmitter.cs
- DataTableReader.cs
- CompatibleIComparer.cs
- FrameAutomationPeer.cs
- Function.cs
- TheQuery.cs
- CodeLinePragma.cs
- BitmapCacheBrush.cs
- EmptyQuery.cs
- GCHandleCookieTable.cs
- HtmlLink.cs
- OrderedDictionaryStateHelper.cs
- ReaderWriterLockWrapper.cs
- Evidence.cs
- SequenceFullException.cs
- panel.cs
- SQLInt64Storage.cs
- CompilerCollection.cs
- ToolStripButton.cs
- TreeNodeStyleCollectionEditor.cs
- DbProviderManifest.cs
- PerfCounterSection.cs
- FileCodeGroup.cs
- DataList.cs
- XmlChildNodes.cs
- MgmtConfigurationRecord.cs
- InstanceView.cs
- EventProxy.cs
- BaseDataBoundControlDesigner.cs
- DependencyPropertyHelper.cs
- PenThreadWorker.cs
- MissingSatelliteAssemblyException.cs
- _LoggingObject.cs
- IgnoreSectionHandler.cs
- BookmarkScope.cs
- AttributeProviderAttribute.cs
- MbpInfo.cs
- IBuiltInEvidence.cs
- PrivacyNoticeBindingElementImporter.cs
- GrammarBuilderWildcard.cs
- SchemaSetCompiler.cs
- DES.cs
- MissingMethodException.cs
- CryptoConfig.cs
- EdmMember.cs
- GenericIdentity.cs
- MailAddress.cs
- DataGridViewRowEventArgs.cs
- PageCodeDomTreeGenerator.cs
- Type.cs
- CurrencyWrapper.cs
- HashSetDebugView.cs
- MimeTypePropertyAttribute.cs
- Thread.cs
- ConfigurationPropertyAttribute.cs
- ADConnectionHelper.cs
- Function.cs
- CommonDialog.cs
- SymDocumentType.cs
- ColumnHeader.cs
- securestring.cs
- HostingMessageProperty.cs
- SatelliteContractVersionAttribute.cs
- EmptyQuery.cs
- WpfPayload.cs
- CancelEventArgs.cs
- StylusPointProperty.cs
- AudioStateChangedEventArgs.cs
- ExceptionTrace.cs
- EmptyControlCollection.cs
- ConfigurationPropertyAttribute.cs
- FieldTemplateUserControl.cs
- HtmlElementErrorEventArgs.cs
- ToolStripComboBox.cs
- TypefaceCollection.cs
- DecimalConstantAttribute.cs
- NullableLongSumAggregationOperator.cs
- Geometry3D.cs
- Pair.cs
- DataGridCellsPresenter.cs
- BindingManagerDataErrorEventArgs.cs
- DocumentGridPage.cs
- SimpleWebHandlerParser.cs
- ListViewContainer.cs
- NumberAction.cs
- PolyLineSegment.cs
- ThicknessAnimationUsingKeyFrames.cs
- HMACRIPEMD160.cs
- DataGridViewTextBoxCell.cs
- EntityContainerEntitySetDefiningQuery.cs
- ProbeDuplexCD1AsyncResult.cs
- SoapParser.cs
- EventRouteFactory.cs
- SqlDataAdapter.cs
- RemoteWebConfigurationHostStream.cs