Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- EmptyCollection.cs
- AddDataControlFieldDialog.cs
- ManagementException.cs
- Buffer.cs
- HttpCacheVary.cs
- EncoderParameters.cs
- DesignerCatalogPartChrome.cs
- RightsManagementInformation.cs
- ZipFileInfoCollection.cs
- SupportsEventValidationAttribute.cs
- Scripts.cs
- GetImportedCardRequest.cs
- DataGridViewRowsAddedEventArgs.cs
- SelfIssuedAuthAsymmetricKey.cs
- Substitution.cs
- BrowserInteropHelper.cs
- ASCIIEncoding.cs
- TreeNodeBindingCollection.cs
- Variant.cs
- HttpProfileBase.cs
- PersonalizationStateQuery.cs
- FontFaceLayoutInfo.cs
- DataGridViewLinkCell.cs
- DataGridViewLinkColumn.cs
- EntityViewGenerationConstants.cs
- BindableTemplateBuilder.cs
- NetPeerTcpBindingElement.cs
- ScriptingAuthenticationServiceSection.cs
- NativeActivityContext.cs
- ComMethodElementCollection.cs
- XmlKeywords.cs
- XamlFxTrace.cs
- XmlSchemaObject.cs
- PersonalizablePropertyEntry.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ComponentCollection.cs
- DrawingContext.cs
- SuppressMessageAttribute.cs
- WindowInteractionStateTracker.cs
- IncrementalReadDecoders.cs
- Registry.cs
- HuffModule.cs
- HttpModulesSection.cs
- xmlNames.cs
- SvcMapFileLoader.cs
- PagedDataSource.cs
- LoginUtil.cs
- WindowsIPAddress.cs
- IListConverters.cs
- ServiceErrorHandler.cs
- DPCustomTypeDescriptor.cs
- ColorTranslator.cs
- ReaderContextStackData.cs
- TextTreeTextNode.cs
- xml.cs
- SettingsProperty.cs
- TextSpan.cs
- InfocardExtendedInformationEntry.cs
- DBSchemaRow.cs
- DbDataReader.cs
- StyleBamlRecordReader.cs
- ServiceProviders.cs
- SubstitutionList.cs
- DataRecordInfo.cs
- AnonymousIdentificationModule.cs
- ResourceExpression.cs
- WebPartCatalogCloseVerb.cs
- DependencyObject.cs
- ResourcePart.cs
- ToolTipService.cs
- PageSettings.cs
- FixedPageAutomationPeer.cs
- DataException.cs
- PrintPreviewGraphics.cs
- FormsAuthenticationUserCollection.cs
- PropertyConverter.cs
- AsynchronousChannelMergeEnumerator.cs
- AsyncStreamReader.cs
- AttachedAnnotation.cs
- SingleResultAttribute.cs
- BitmapEffectInputData.cs
- WindowsToolbarAsMenu.cs
- Application.cs
- SamlConstants.cs
- XmlNamespaceDeclarationsAttribute.cs
- ControlUtil.cs
- UIElementParagraph.cs
- Part.cs
- LeafCellTreeNode.cs
- _TransmitFileOverlappedAsyncResult.cs
- ReservationNotFoundException.cs
- EditingCommands.cs
- InputManager.cs
- DesignTimeTemplateParser.cs
- TableRowGroup.cs
- SessionViewState.cs
- SqlCommandAsyncResult.cs
- ProfileProvider.cs
- MemoryResponseElement.cs
- Transform3D.cs