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
- Msec.cs
- StringConverter.cs
- _TransmitFileOverlappedAsyncResult.cs
- Size.cs
- XsdValidatingReader.cs
- CodeGeneratorOptions.cs
- ImageInfo.cs
- PolygonHotSpot.cs
- DrawingBrush.cs
- SubMenuStyleCollection.cs
- RolePrincipal.cs
- ProcessModule.cs
- IOException.cs
- FrameworkName.cs
- rsa.cs
- PolicyLevel.cs
- LocatorPart.cs
- Root.cs
- TextHidden.cs
- Vector.cs
- DynamicValueConverter.cs
- EventLogInformation.cs
- XamlTemplateSerializer.cs
- Storyboard.cs
- FileEnumerator.cs
- InternalResources.cs
- ProviderException.cs
- SqlUDTStorage.cs
- GlyphRun.cs
- UserControl.cs
- ArglessEventHandlerProxy.cs
- Gdiplus.cs
- NegotiateStream.cs
- DataGridViewComponentPropertyGridSite.cs
- TypeValidationEventArgs.cs
- ReadOnlyNameValueCollection.cs
- DockProviderWrapper.cs
- WebRequestModulesSection.cs
- LineMetrics.cs
- ResolvePPIDRequest.cs
- AbandonedMutexException.cs
- StackOverflowException.cs
- LocatorGroup.cs
- EpmSyndicationContentSerializer.cs
- BindStream.cs
- TemplateInstanceAttribute.cs
- DragDeltaEventArgs.cs
- NullRuntimeConfig.cs
- TextDpi.cs
- FieldBuilder.cs
- ACL.cs
- RemotingAttributes.cs
- DocumentApplicationJournalEntry.cs
- PropertyChangingEventArgs.cs
- OutputWindow.cs
- XmlnsDictionary.cs
- DesignerVerb.cs
- MimeTextImporter.cs
- SiteOfOriginContainer.cs
- SqlServer2KCompatibilityCheck.cs
- GridViewCancelEditEventArgs.cs
- Canvas.cs
- SqlDelegatedTransaction.cs
- InkCanvasFeedbackAdorner.cs
- ConnectionsZone.cs
- TraceHandlerErrorFormatter.cs
- RunClient.cs
- SqlTypeSystemProvider.cs
- PageBorderless.cs
- DataGridViewRowConverter.cs
- TableMethodGenerator.cs
- FrameSecurityDescriptor.cs
- CodeEntryPointMethod.cs
- BooleanAnimationUsingKeyFrames.cs
- ImageCodecInfoPrivate.cs
- ConfigPathUtility.cs
- SplashScreenNativeMethods.cs
- DbExpressionBuilder.cs
- UrlPath.cs
- ParameterModifier.cs
- _ShellExpression.cs
- SettingsAttributes.cs
- Transform3DGroup.cs
- HttpDictionary.cs
- WindowsRichEditRange.cs
- DecoderNLS.cs
- BufferedGraphicsContext.cs
- SafeRightsManagementHandle.cs
- TemplatedWizardStep.cs
- SubstitutionList.cs
- SubstitutionDesigner.cs
- StylusPointPropertyId.cs
- hebrewshape.cs
- PropertiesTab.cs
- Connection.cs
- ObjectStateEntry.cs
- ContentValidator.cs
- WindowInteropHelper.cs
- ContainsRowNumberChecker.cs
- RotationValidation.cs