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
- WindowsAuthenticationModule.cs
- AsyncResult.cs
- PrintControllerWithStatusDialog.cs
- TypeHelper.cs
- ConditionValidator.cs
- TraceSection.cs
- TableCellAutomationPeer.cs
- CustomValidator.cs
- GuidTagList.cs
- PeerInvitationResponse.cs
- XPathPatternBuilder.cs
- CodeRegionDirective.cs
- Lazy.cs
- SchemaCollectionPreprocessor.cs
- UseManagedPresentationBindingElementImporter.cs
- TrustSection.cs
- HttpWriter.cs
- ConsumerConnectionPointCollection.cs
- DriveNotFoundException.cs
- IndexOutOfRangeException.cs
- BitmapImage.cs
- MetadataArtifactLoaderFile.cs
- ConfigurationPermission.cs
- MediaContextNotificationWindow.cs
- RefreshEventArgs.cs
- SendContent.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XPathMessageFilterElement.cs
- WebPartZoneCollection.cs
- SqlUserDefinedAggregateAttribute.cs
- RemotingService.cs
- SecurityIdentifierElementCollection.cs
- ColorTransform.cs
- HiddenFieldPageStatePersister.cs
- FunctionDescription.cs
- StylusPointProperty.cs
- EventItfInfo.cs
- AudioBase.cs
- ThreadStaticAttribute.cs
- CharEnumerator.cs
- Utilities.cs
- ExpressionNormalizer.cs
- _ShellExpression.cs
- ServerReliableChannelBinder.cs
- GZipStream.cs
- PropertyValueChangedEvent.cs
- HtmlUtf8RawTextWriter.cs
- TagPrefixAttribute.cs
- ValidateNames.cs
- LowerCaseStringConverter.cs
- TextBox.cs
- HttpRuntimeSection.cs
- EnumType.cs
- ColorAnimationBase.cs
- _Rfc2616CacheValidators.cs
- MaskedTextBox.cs
- FontFamilyIdentifier.cs
- ZipIOExtraField.cs
- AccessDataSourceWizardForm.cs
- NetNamedPipeSecurityElement.cs
- TransformValueSerializer.cs
- PartialArray.cs
- DragEventArgs.cs
- Math.cs
- DSASignatureFormatter.cs
- NumericUpDown.cs
- PriorityRange.cs
- TimeZoneNotFoundException.cs
- PhonemeEventArgs.cs
- MethodToken.cs
- BounceEase.cs
- IList.cs
- DecimalConverter.cs
- ListViewItem.cs
- Padding.cs
- ReaderWriterLockWrapper.cs
- HttpWebRequest.cs
- BinaryFormatter.cs
- TextBoxDesigner.cs
- HyperLinkField.cs
- DataObjectEventArgs.cs
- URLString.cs
- Command.cs
- DispatcherProcessingDisabled.cs
- selecteditemcollection.cs
- DesignBindingPropertyDescriptor.cs
- QilVisitor.cs
- DataGridPageChangedEventArgs.cs
- WsatExtendedInformation.cs
- RegexTree.cs
- GlobalAllocSafeHandle.cs
- ContextMenu.cs
- DataGridViewImageCell.cs
- Page.cs
- XpsFilter.cs
- DataSourceView.cs
- XmlParser.cs
- CodeDirectoryCompiler.cs
- HiddenField.cs
- ProtocolsConfigurationHandler.cs