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
- BuildDependencySet.cs
- ResXBuildProvider.cs
- DataChangedEventManager.cs
- ManifestResourceInfo.cs
- NameValueSectionHandler.cs
- JsonServiceDocumentSerializer.cs
- FrameworkContentElementAutomationPeer.cs
- OutputCacheSettingsSection.cs
- UInt64Converter.cs
- XPathNavigatorKeyComparer.cs
- InstanceStoreQueryResult.cs
- TraceRecords.cs
- PrintPreviewGraphics.cs
- IsolatedStorageFileStream.cs
- DataGridViewCellLinkedList.cs
- AutoGeneratedField.cs
- AvTraceDetails.cs
- RouteValueDictionary.cs
- CommonXSendMessage.cs
- FixedPosition.cs
- SafeIUnknown.cs
- DiagnosticStrings.cs
- ProviderUtil.cs
- EtwTrace.cs
- BamlLocalizer.cs
- RenderingEventArgs.cs
- QilXmlReader.cs
- FontInfo.cs
- FontCollection.cs
- ConstructorBuilder.cs
- TypeConverterHelper.cs
- EntityDataReader.cs
- ADMembershipProvider.cs
- X509CertificateCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- ClientRolePrincipal.cs
- SqlDependencyUtils.cs
- SafeRightsManagementQueryHandle.cs
- FontInfo.cs
- MouseCaptureWithinProperty.cs
- BaseCodeDomTreeGenerator.cs
- BaseParser.cs
- DiscoveryDocument.cs
- NotificationContext.cs
- MachineKeySection.cs
- NotificationContext.cs
- RegexRunnerFactory.cs
- ContainsRowNumberChecker.cs
- Error.cs
- XmlNavigatorStack.cs
- Publisher.cs
- SafeLibraryHandle.cs
- DesignerAttributeInfo.cs
- GenericWebPart.cs
- SplitterCancelEvent.cs
- KeyedHashAlgorithm.cs
- LogEntryDeserializer.cs
- SerializationSectionGroup.cs
- ScriptModule.cs
- PointF.cs
- ScriptingAuthenticationServiceSection.cs
- VBIdentifierNameEditor.cs
- XamlBuildProvider.cs
- FontResourceCache.cs
- DataServiceHost.cs
- CombinedGeometry.cs
- FolderBrowserDialog.cs
- versioninfo.cs
- XamlSerializer.cs
- RowToFieldTransformer.cs
- EntityProviderFactory.cs
- WebPartConnection.cs
- StandardCommands.cs
- StylusPointProperties.cs
- RuntimeArgumentHandle.cs
- Empty.cs
- AdCreatedEventArgs.cs
- Speller.cs
- StorageAssociationTypeMapping.cs
- Nullable.cs
- ArraySegment.cs
- DataGridViewAutoSizeModeEventArgs.cs
- CryptoConfig.cs
- NativeWrapper.cs
- CurrentTimeZone.cs
- LicenseProviderAttribute.cs
- SimpleTextLine.cs
- TypefaceMap.cs
- EncryptedKey.cs
- DataObjectAttribute.cs
- HtmlLiteralTextAdapter.cs
- SessionStateContainer.cs
- SqlDependencyListener.cs
- BamlVersionHeader.cs
- WebDescriptionAttribute.cs
- DecimalFormatter.cs
- DbDataRecord.cs
- Mappings.cs
- OpCopier.cs
- HandlerWithFactory.cs