Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- KnownBoxes.cs
- LocatorPart.cs
- ChtmlMobileTextWriter.cs
- CreateUserWizardStep.cs
- ObjectListDataBindEventArgs.cs
- EnglishPluralizationService.cs
- SimpleWebHandlerParser.cs
- NavigationPropertyEmitter.cs
- MediaSystem.cs
- CharUnicodeInfo.cs
- CompoundFileDeflateTransform.cs
- PeerCredentialElement.cs
- UIElement3D.cs
- Trigger.cs
- LookupBindingPropertiesAttribute.cs
- FormViewInsertEventArgs.cs
- ExpressionPrefixAttribute.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- PanelStyle.cs
- AssociativeAggregationOperator.cs
- XmlCharCheckingReader.cs
- SaveFileDialog.cs
- EntityDataSourceUtil.cs
- EdmItemCollection.OcAssemblyCache.cs
- CqlBlock.cs
- PageClientProxyGenerator.cs
- FloaterBaseParaClient.cs
- FormView.cs
- ExpandableObjectConverter.cs
- StorageSetMapping.cs
- QueryRewriter.cs
- SqlTypesSchemaImporter.cs
- WinOEToolBoxItem.cs
- PasswordRecovery.cs
- BuildDependencySet.cs
- SQLByteStorage.cs
- WeakHashtable.cs
- FrameworkTemplate.cs
- sortedlist.cs
- ImageSourceValueSerializer.cs
- XamlBuildTaskServices.cs
- ListCommandEventArgs.cs
- Propagator.JoinPropagator.cs
- TreeWalker.cs
- ResXResourceSet.cs
- StylusPoint.cs
- HttpRequestTraceRecord.cs
- OrderedDictionaryStateHelper.cs
- FeatureAttribute.cs
- OLEDB_Util.cs
- AutomationIdentifier.cs
- CookieProtection.cs
- ScriptControlManager.cs
- TypeGeneratedEventArgs.cs
- TextEditorLists.cs
- BuildProviderCollection.cs
- MenuItemCollection.cs
- StoryFragments.cs
- CodeAccessSecurityEngine.cs
- CodeEventReferenceExpression.cs
- PathParser.cs
- ValidationHelpers.cs
- SecurityProtocolFactory.cs
- DataGridViewCellEventArgs.cs
- MimeBasePart.cs
- FileDialogCustomPlace.cs
- DataGridColumnCollectionEditor.cs
- HandoffBehavior.cs
- DictionaryEntry.cs
- SoapTypeAttribute.cs
- HostingPreferredMapPath.cs
- Authorization.cs
- MediaCommands.cs
- DefaultValueConverter.cs
- ExtensionDataObject.cs
- UIntPtr.cs
- NamedPipeAppDomainProtocolHandler.cs
- OleDbPermission.cs
- ProtocolImporter.cs
- Mapping.cs
- ContentPlaceHolder.cs
- WasHttpHandlersInstallComponent.cs
- TableDesigner.cs
- DocumentViewerAutomationPeer.cs
- EventHandlerList.cs
- Form.cs
- LicenseManager.cs
- TransformProviderWrapper.cs
- ellipse.cs
- WebPartUtil.cs
- TextView.cs
- PackageDigitalSignature.cs
- SerializationSectionGroup.cs
- SelectorItemAutomationPeer.cs
- CreateUserWizard.cs
- KeySplineConverter.cs
- QueryOperatorEnumerator.cs
- MediaContextNotificationWindow.cs
- ExternalCalls.cs
- HighContrastHelper.cs