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
- MergeFailedEvent.cs
- MethodRental.cs
- MouseGestureValueSerializer.cs
- TreeViewEvent.cs
- EntityDataSourceWizardForm.cs
- FormViewInsertedEventArgs.cs
- NameObjectCollectionBase.cs
- CodeIdentifiers.cs
- ExpressionVisitor.cs
- HwndProxyElementProvider.cs
- SctClaimSerializer.cs
- bidPrivateBase.cs
- ClosableStream.cs
- DesignerTextWriter.cs
- SqlGatherProducedAliases.cs
- MDIClient.cs
- MappingException.cs
- WebPartDisplayModeEventArgs.cs
- OptimisticConcurrencyException.cs
- StrongNameKeyPair.cs
- DefaultIfEmptyQueryOperator.cs
- IISMapPath.cs
- DesignerRegionCollection.cs
- ZoomPercentageConverter.cs
- DataRecordObjectView.cs
- XsltLibrary.cs
- Application.cs
- _RegBlobWebProxyDataBuilder.cs
- DataBindingsDialog.cs
- ListViewTableRow.cs
- LogEntry.cs
- designeractionlistschangedeventargs.cs
- UrlPath.cs
- KeyNotFoundException.cs
- UnsafeNativeMethods.cs
- TypePropertyEditor.cs
- TextServicesManager.cs
- MailAddress.cs
- SystemResources.cs
- BooleanConverter.cs
- ComPlusInstanceProvider.cs
- TextServicesLoader.cs
- ReturnValue.cs
- SchemaElementDecl.cs
- FixedDocumentPaginator.cs
- XsdDateTime.cs
- VerificationAttribute.cs
- FunctionDescription.cs
- webeventbuffer.cs
- DesigntimeLicenseContextSerializer.cs
- ItemCollection.cs
- SessionPageStatePersister.cs
- RuntimeWrappedException.cs
- RequestCacheManager.cs
- MarkedHighlightComponent.cs
- ServerIdentity.cs
- XmlEncodedRawTextWriter.cs
- LocatorPart.cs
- Utils.cs
- PixelShader.cs
- XmlStrings.cs
- PropertyIDSet.cs
- MouseActionConverter.cs
- AppDomainFactory.cs
- LoadedOrUnloadedOperation.cs
- SessionIDManager.cs
- StateManagedCollection.cs
- HtmlMeta.cs
- odbcmetadatafactory.cs
- DiffuseMaterial.cs
- DataRowView.cs
- WorkflowDataContext.cs
- DataTableNameHandler.cs
- HttpCookieCollection.cs
- EtwTrace.cs
- NodeInfo.cs
- SiteMapDataSource.cs
- VisualStyleTypesAndProperties.cs
- XmlBinaryReaderSession.cs
- ByteConverter.cs
- httpserverutility.cs
- Automation.cs
- ResourceDictionaryCollection.cs
- AuditLogLocation.cs
- NodeLabelEditEvent.cs
- TextPenaltyModule.cs
- Lasso.cs
- WorkflowRuntimeElement.cs
- CellTreeNodeVisitors.cs
- ChannelServices.cs
- __TransparentProxy.cs
- XmlSchemaAttribute.cs
- FormsAuthenticationEventArgs.cs
- PolicyAssertionCollection.cs
- Helper.cs
- ResourceSet.cs
- Material.cs
- TargetControlTypeCache.cs
- ChangeProcessor.cs
- MimeReturn.cs