Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / ExpandSegmentCollection.cs / 1407647 / ExpandSegmentCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a description of a path in an $expand query option // for a WCF Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System.Collections.Generic; ////// Provides a description of a path in an $expand query option /// for a WCF 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 a WCF Data Service. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System.Collections.Generic; ////// Provides a description of a path in an $expand query option /// for a WCF 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
- EllipseGeometry.cs
- SQLDecimalStorage.cs
- UnsafeNativeMethods.cs
- XmlAnyElementAttribute.cs
- FixUpCollection.cs
- XamlStream.cs
- InputLanguageEventArgs.cs
- _Events.cs
- WindowsSspiNegotiation.cs
- EnumDataContract.cs
- FormsAuthenticationModule.cs
- BitConverter.cs
- DataRowExtensions.cs
- MetabaseReader.cs
- HandoffBehavior.cs
- ConversionContext.cs
- WebPartZoneBase.cs
- DeclaredTypeValidator.cs
- AbstractExpressions.cs
- LockCookie.cs
- GridViewUpdatedEventArgs.cs
- BaseParaClient.cs
- MessageLoggingFilterTraceRecord.cs
- SoapReflectionImporter.cs
- IdnMapping.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- UserMapPath.cs
- DynamicUpdateCommand.cs
- DataSet.cs
- X509ChainElement.cs
- xml.cs
- DocumentReferenceCollection.cs
- CroppedBitmap.cs
- AvtEvent.cs
- LazyTextWriterCreator.cs
- _SSPIWrapper.cs
- PartialTrustVisibleAssembliesSection.cs
- SemanticResultKey.cs
- NullableDecimalSumAggregationOperator.cs
- VirtualPathProvider.cs
- InheritedPropertyChangedEventArgs.cs
- Aes.cs
- UIElement3DAutomationPeer.cs
- GridViewHeaderRowPresenter.cs
- X509UI.cs
- X509AsymmetricSecurityKey.cs
- AnnotationResource.cs
- SetUserLanguageRequest.cs
- XmlEncoding.cs
- Region.cs
- CellPartitioner.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Odbc32.cs
- BaseParagraph.cs
- PackWebResponse.cs
- SocketAddress.cs
- Buffer.cs
- RoleBoolean.cs
- PassportPrincipal.cs
- WebServiceEnumData.cs
- PolicyLevel.cs
- RepeatBehaviorConverter.cs
- MessageFilter.cs
- XmlWrappingReader.cs
- InstanceHandle.cs
- CryptoApi.cs
- SafeFileMappingHandle.cs
- CacheManager.cs
- OdbcCommand.cs
- ICspAsymmetricAlgorithm.cs
- TextBox.cs
- Drawing.cs
- ProxyElement.cs
- MatrixCamera.cs
- StylusPointProperty.cs
- XamlWriterExtensions.cs
- WebHostedComPlusServiceHost.cs
- VectorCollection.cs
- ControlAdapter.cs
- SecurityBindingElement.cs
- InputLanguageProfileNotifySink.cs
- DescendantBaseQuery.cs
- EastAsianLunisolarCalendar.cs
- SurrogateDataContract.cs
- ValueUnavailableException.cs
- TypeGeneratedEventArgs.cs
- TitleStyle.cs
- MimeParameterWriter.cs
- If.cs
- RightNameExpirationInfoPair.cs
- BitmapEffectrendercontext.cs
- MailMessageEventArgs.cs
- CustomAttributeBuilder.cs
- SourceInterpreter.cs
- RestClientProxyHandler.cs
- SharedStream.cs
- DuplicateDetector.cs
- CreateUserErrorEventArgs.cs
- CustomWebEventKey.cs
- EntityProviderFactory.cs