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
- ValueConversionAttribute.cs
- SrgsElementFactory.cs
- Vector3DValueSerializer.cs
- CellQuery.cs
- DeferrableContent.cs
- InfoCardCryptoHelper.cs
- RootCodeDomSerializer.cs
- Attributes.cs
- LocationUpdates.cs
- ClientFormsIdentity.cs
- AuthorizationContext.cs
- AxisAngleRotation3D.cs
- DeclarativeCatalogPart.cs
- ImageAutomationPeer.cs
- MailWriter.cs
- CookieProtection.cs
- SamlAudienceRestrictionCondition.cs
- GlobalItem.cs
- PerformanceCounterCategory.cs
- MasterPageBuildProvider.cs
- WindowsTooltip.cs
- GroupByQueryOperator.cs
- PersistenceProviderBehavior.cs
- EntityDataSourceSelectingEventArgs.cs
- PageContentCollection.cs
- HttpConfigurationSystem.cs
- StorageTypeMapping.cs
- TextServicesContext.cs
- SrgsDocument.cs
- SoapDocumentServiceAttribute.cs
- OperationCanceledException.cs
- MultiTouchSystemGestureLogic.cs
- FlowDocumentFormatter.cs
- CapabilitiesSection.cs
- DBSchemaTable.cs
- StateWorkerRequest.cs
- EastAsianLunisolarCalendar.cs
- RoleBoolean.cs
- webbrowsersite.cs
- XmlElement.cs
- SerializationAttributes.cs
- UriSection.cs
- XmlSchemaInferenceException.cs
- CertificateManager.cs
- DrawingBrush.cs
- CommonXSendMessage.cs
- MasterPageParser.cs
- ETagAttribute.cs
- MenuItemAutomationPeer.cs
- Exception.cs
- CustomSignedXml.cs
- DiagnosticTrace.cs
- XmlSerializationWriter.cs
- ContextBase.cs
- ExitEventArgs.cs
- InternalPermissions.cs
- NetworkInformationException.cs
- HandleCollector.cs
- HttpClientCertificate.cs
- ProcessModelInfo.cs
- CodeMethodReturnStatement.cs
- objectquery_tresulttype.cs
- ListViewUpdatedEventArgs.cs
- EntityViewGenerationConstants.cs
- NonParentingControl.cs
- LineUtil.cs
- CheckBox.cs
- DispatchWrapper.cs
- ConversionHelper.cs
- PermissionAttributes.cs
- BmpBitmapDecoder.cs
- SelectionChangedEventArgs.cs
- _StreamFramer.cs
- SqlServices.cs
- SafeLocalAllocation.cs
- DesignerActionVerbItem.cs
- OdbcParameterCollection.cs
- ProviderConnectionPointCollection.cs
- QilFunction.cs
- SystemIcmpV6Statistics.cs
- DBPropSet.cs
- SmiEventSink_DeferedProcessing.cs
- BuildProvider.cs
- VectorKeyFrameCollection.cs
- StrokeCollection2.cs
- SqlInternalConnectionTds.cs
- ErrorReporting.cs
- ListView.cs
- XmlSerializationWriter.cs
- PixelFormatConverter.cs
- XmlResolver.cs
- InvalidDataException.cs
- ListViewInsertionMark.cs
- ParseChildrenAsPropertiesAttribute.cs
- ServiceDefaults.cs
- Label.cs
- TraceFilter.cs
- CodeDomConfigurationHandler.cs
- _Win32.cs
- RequestFactory.cs