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
- SizeAnimation.cs
- StringUtil.cs
- WebDescriptionAttribute.cs
- RawMouseInputReport.cs
- SrgsDocument.cs
- ViewBase.cs
- CacheMemory.cs
- SqlDataSourceWizardForm.cs
- AjaxFrameworkAssemblyAttribute.cs
- RepeaterItemCollection.cs
- QilCloneVisitor.cs
- CategoryNameCollection.cs
- figurelengthconverter.cs
- CancellationState.cs
- FrameworkContentElementAutomationPeer.cs
- HandledMouseEvent.cs
- ApplicationServiceManager.cs
- AsyncContentLoadedEventArgs.cs
- TreeNodeClickEventArgs.cs
- AsyncCodeActivityContext.cs
- MetafileHeaderWmf.cs
- BaseAutoFormat.cs
- ResourceDictionaryCollection.cs
- MdiWindowListStrip.cs
- XmlSchemaComplexType.cs
- ButtonFieldBase.cs
- WebPartZone.cs
- CompleteWizardStep.cs
- _SafeNetHandles.cs
- SecurityCookieModeValidator.cs
- SourceSwitch.cs
- UserUseLicenseDictionaryLoader.cs
- EncodingFallbackAwareXmlTextWriter.cs
- AsyncStreamReader.cs
- LineUtil.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- OuterGlowBitmapEffect.cs
- WrappedOptions.cs
- QuaternionKeyFrameCollection.cs
- GlyphManager.cs
- Random.cs
- RawMouseInputReport.cs
- TextProperties.cs
- MenuItemBindingCollection.cs
- Bitmap.cs
- AssemblyAssociatedContentFileAttribute.cs
- KeyMatchBuilder.cs
- XmlHierarchicalDataSourceView.cs
- DocumentEventArgs.cs
- Conditional.cs
- Membership.cs
- __Error.cs
- WebResourceUtil.cs
- DbModificationClause.cs
- LocatorPart.cs
- Int16.cs
- IncrementalHitTester.cs
- SizeConverter.cs
- PageBreakRecord.cs
- InternalsVisibleToAttribute.cs
- HttpModulesInstallComponent.cs
- EdmType.cs
- HtmlInputFile.cs
- DataGridViewRowHeaderCell.cs
- QueryLifecycle.cs
- ToolStripProgressBar.cs
- ExceptionDetail.cs
- CuspData.cs
- CodeDirectoryCompiler.cs
- WebSysDefaultValueAttribute.cs
- DelegatingConfigHost.cs
- SpeechDetectedEventArgs.cs
- UnsafeNativeMethods.cs
- BamlRecords.cs
- SqlFileStream.cs
- ByteArrayHelperWithString.cs
- StringToken.cs
- EndpointConfigContainer.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- OleDbPropertySetGuid.cs
- ColumnResizeAdorner.cs
- WebMessageBodyStyleHelper.cs
- ObjectStateEntryDbDataRecord.cs
- VisualTransition.cs
- SectionVisual.cs
- ObjectConverter.cs
- StateManagedCollection.cs
- DataGridViewRowPrePaintEventArgs.cs
- ScriptRef.cs
- XmlAggregates.cs
- PolyLineSegment.cs
- DataColumnPropertyDescriptor.cs
- Vector3DAnimation.cs
- SingleTagSectionHandler.cs
- CustomBindingElement.cs
- PolyLineSegmentFigureLogic.cs
- VisualBrush.cs
- MaskedTextBoxDesigner.cs
- TextChangedEventArgs.cs
- FormClosingEvent.cs