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
- RemoteCryptoSignHashRequest.cs
- TextRunProperties.cs
- ButtonColumn.cs
- XmlComment.cs
- AsyncResult.cs
- TextRangeProviderWrapper.cs
- SigningCredentials.cs
- COM2PropertyPageUITypeConverter.cs
- NameValueFileSectionHandler.cs
- RowParagraph.cs
- DoubleLink.cs
- BrowserTree.cs
- SvcMapFileSerializer.cs
- EncryptedType.cs
- StringDictionaryWithComparer.cs
- TypeConverterHelper.cs
- SoapIncludeAttribute.cs
- ThicknessKeyFrameCollection.cs
- BigInt.cs
- ParsedAttributeCollection.cs
- SoapUnknownHeader.cs
- XmlNodeReader.cs
- Thread.cs
- ValidationSummary.cs
- UndirectedGraph.cs
- CommandBindingCollection.cs
- ClipboardProcessor.cs
- documentsequencetextcontainer.cs
- WebServiceData.cs
- DispatcherExceptionFilterEventArgs.cs
- CollectionExtensions.cs
- CustomTokenProvider.cs
- ClockController.cs
- CompoundFileReference.cs
- EncoderFallback.cs
- TemplateField.cs
- Model3DGroup.cs
- HandlerFactoryWrapper.cs
- StringKeyFrameCollection.cs
- BeginStoryboard.cs
- ComponentFactoryHelpers.cs
- QuaternionAnimation.cs
- SHA384Managed.cs
- IriParsingElement.cs
- SqlDataSourceQueryEditor.cs
- PreservationFileWriter.cs
- DesignerActionGlyph.cs
- DateRangeEvent.cs
- ErrorRuntimeConfig.cs
- PhysicalFontFamily.cs
- TextDocumentView.cs
- XmlIncludeAttribute.cs
- HttpListenerPrefixCollection.cs
- ArgumentNullException.cs
- TableCellCollection.cs
- CompiledQuery.cs
- PanelDesigner.cs
- ListBox.cs
- HtmlElementEventArgs.cs
- InheritedPropertyChangedEventArgs.cs
- XmlILConstructAnalyzer.cs
- StreamingContext.cs
- IgnoreFlushAndCloseStream.cs
- TimelineGroup.cs
- _OverlappedAsyncResult.cs
- DayRenderEvent.cs
- OperatingSystem.cs
- MessageDecoder.cs
- OptimizedTemplateContent.cs
- DataGridViewCellEventArgs.cs
- Event.cs
- DbConnectionPoolCounters.cs
- ListBoxChrome.cs
- RuleProcessor.cs
- DocumentReference.cs
- DiscoveryInnerClientAdhocCD1.cs
- PathParser.cs
- ChangeTracker.cs
- InstrumentationTracker.cs
- DataGridCommandEventArgs.cs
- TransactionFilter.cs
- WebPageTraceListener.cs
- AsyncCodeActivity.cs
- XmlChoiceIdentifierAttribute.cs
- XPathCompileException.cs
- GraphicsPathIterator.cs
- OracleDataReader.cs
- UserMapPath.cs
- SoapObjectWriter.cs
- MiniLockedBorderGlyph.cs
- SQLInt32Storage.cs
- EmptyControlCollection.cs
- FontEmbeddingManager.cs
- EntityDataReader.cs
- AssociationTypeEmitter.cs
- AutomationElement.cs
- StringValidatorAttribute.cs
- PersonalizablePropertyEntry.cs
- DataGridRowHeader.cs
- DataGridViewTopLeftHeaderCell.cs