Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Server / System / Data / Services / ExpandSegmentCollection.cs / 1 / ExpandSegmentCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a description of a path in an $expand query option // for an ADO.NET Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq.Expressions; ////// Provides a description of a path in an $expand query option /// for an ADO.NET Data Service. /// public class ExpandSegmentCollection : List{ /// Initializes a new public ExpandSegmentCollection() { } ///instance. Initializes a new /// Initial capacity. public ExpandSegmentCollection(int capacity) : base(capacity) { } ///instance. Whether this path has any filters. public bool HasFilter { get { foreach (ExpandSegment segment in this) { if (segment.HasFilter) { return true; } } return false; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a description of a path in an $expand query option // for an ADO.NET Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq.Expressions; ////// Provides a description of a path in an $expand query option /// for an ADO.NET Data Service. /// public class ExpandSegmentCollection : List{ /// Initializes a new public ExpandSegmentCollection() { } ///instance. Initializes a new /// Initial capacity. public ExpandSegmentCollection(int capacity) : base(capacity) { } ///instance. Whether this path has any filters. public bool HasFilter { get { foreach (ExpandSegment segment in this) { if (segment.HasFilter) { return true; } } return false; } } } } // 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
- HyperLinkColumn.cs
- SaveCardRequest.cs
- AllowedAudienceUriElementCollection.cs
- CultureTableRecord.cs
- SynchronizationContext.cs
- FormatException.cs
- ImageFormatConverter.cs
- ClientConfigurationSystem.cs
- Listbox.cs
- TableCell.cs
- MimeParameters.cs
- EnumerableRowCollection.cs
- WebRequestModuleElement.cs
- LeafCellTreeNode.cs
- OrderByQueryOptionExpression.cs
- RenderOptions.cs
- EventEntry.cs
- ErrorHandlerModule.cs
- Splitter.cs
- odbcmetadatafactory.cs
- WpfPayload.cs
- NativeRightsManagementAPIsStructures.cs
- PassportIdentity.cs
- TextEffect.cs
- TextEditorParagraphs.cs
- COAUTHIDENTITY.cs
- SmiEventSink_DeferedProcessing.cs
- SHA384Managed.cs
- XmlCodeExporter.cs
- QueryInterceptorAttribute.cs
- CodeArrayIndexerExpression.cs
- SortQueryOperator.cs
- Line.cs
- WebContext.cs
- HwndHost.cs
- X509ChainElement.cs
- Point3DKeyFrameCollection.cs
- ICspAsymmetricAlgorithm.cs
- CodeParameterDeclarationExpression.cs
- odbcmetadatacolumnnames.cs
- TypePropertyEditor.cs
- Types.cs
- WsdlBuildProvider.cs
- WebServiceHost.cs
- WebServiceHandlerFactory.cs
- CreateUserErrorEventArgs.cs
- _FtpControlStream.cs
- UniqueSet.cs
- BaseDataListPage.cs
- InvalidCastException.cs
- CommandConverter.cs
- PointConverter.cs
- FigureParagraph.cs
- MenuEventArgs.cs
- StyleTypedPropertyAttribute.cs
- LinkDescriptor.cs
- BindingExpressionBase.cs
- ObjectSet.cs
- ObjectDataSourceView.cs
- NativeWindow.cs
- TailCallAnalyzer.cs
- SSmlParser.cs
- ArraySubsetEnumerator.cs
- ListViewSelectEventArgs.cs
- cookieexception.cs
- AttachedPropertiesService.cs
- RowCache.cs
- EmptyReadOnlyDictionaryInternal.cs
- XsdBuildProvider.cs
- OdbcParameterCollection.cs
- HttpProxyTransportBindingElement.cs
- BindingContext.cs
- XmlBoundElement.cs
- FastEncoderWindow.cs
- OutputCacheProfileCollection.cs
- InvalidPrinterException.cs
- DLinqDataModelProvider.cs
- NamespaceInfo.cs
- NotSupportedException.cs
- MailHeaderInfo.cs
- MexTcpBindingElement.cs
- TaiwanCalendar.cs
- AccessDataSourceDesigner.cs
- Task.cs
- LingerOption.cs
- ArrayConverter.cs
- MatchingStyle.cs
- ComplexType.cs
- HighContrastHelper.cs
- DataControlCommands.cs
- List.cs
- TypedTableBaseExtensions.cs
- ChannelTracker.cs
- SQLRoleProvider.cs
- GridItem.cs
- Knowncolors.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- EdgeModeValidation.cs
- CodeGenHelper.cs
- DataTableMapping.cs