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
- NavigationEventArgs.cs
- SqlLiftWhereClauses.cs
- XmlChildNodes.cs
- Point3DCollectionConverter.cs
- SecurityKeyUsage.cs
- EditCommandColumn.cs
- ProbeDuplexCD1AsyncResult.cs
- ObjectViewEntityCollectionData.cs
- PolicyImporterElement.cs
- SQLGuid.cs
- Point3DKeyFrameCollection.cs
- MaterialGroup.cs
- PropertyInfoSet.cs
- Accessible.cs
- SuppressMessageAttribute.cs
- IndicFontClient.cs
- EncoderReplacementFallback.cs
- FontStretch.cs
- ValidatorCompatibilityHelper.cs
- TextRangeAdaptor.cs
- XmlElementList.cs
- ModelVisual3D.cs
- ChangeToolStripParentVerb.cs
- WorkflowStateRollbackService.cs
- IPipelineRuntime.cs
- SplashScreenNativeMethods.cs
- XmlUnspecifiedAttribute.cs
- WebPartEditorApplyVerb.cs
- ConnectionConsumerAttribute.cs
- WebResourceAttribute.cs
- RequiredFieldValidator.cs
- PrinterSettings.cs
- SQLDateTimeStorage.cs
- DecoderBestFitFallback.cs
- WorkflowTimerService.cs
- CanExecuteRoutedEventArgs.cs
- EnvelopedSignatureTransform.cs
- ModelVisual3D.cs
- AppDomainManager.cs
- TagMapCollection.cs
- IPAddress.cs
- ToolStripRenderEventArgs.cs
- ArrayWithOffset.cs
- DataGridViewRowEventArgs.cs
- TextPointer.cs
- bidPrivateBase.cs
- ProxyWebPartConnectionCollection.cs
- InstallerTypeAttribute.cs
- SweepDirectionValidation.cs
- WebServicesDescriptionAttribute.cs
- ParallelTimeline.cs
- XmlCountingReader.cs
- Span.cs
- EnumUnknown.cs
- BuilderInfo.cs
- GrammarBuilderRuleRef.cs
- ComplexTypeEmitter.cs
- OutOfProcStateClientManager.cs
- LineBreak.cs
- DynamicValueConverter.cs
- DataGridCellsPanel.cs
- ReadWriteObjectLock.cs
- AnimationStorage.cs
- TextRangeEditLists.cs
- RC2.cs
- ComponentChangedEvent.cs
- FilterException.cs
- CacheEntry.cs
- JsonQNameDataContract.cs
- Speller.cs
- AdornedElementPlaceholder.cs
- Pair.cs
- Viewport3DVisual.cs
- MultiTouchSystemGestureLogic.cs
- CalloutQueueItem.cs
- PackUriHelper.cs
- MaskedTextBoxTextEditor.cs
- TextSearch.cs
- PassportAuthenticationEventArgs.cs
- Operators.cs
- MimeObjectFactory.cs
- DescendantOverDescendantQuery.cs
- CaretElement.cs
- ReadOnlyDictionary.cs
- IPPacketInformation.cs
- XamlStream.cs
- Point3DKeyFrameCollection.cs
- DesignTimeDataBinding.cs
- EditorZoneBase.cs
- XmlILModule.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SizeConverter.cs
- Delegate.cs
- WorkerRequest.cs
- DataGridViewSelectedRowCollection.cs
- CorrelationManager.cs
- ToolStripPanelRow.cs
- BinaryObjectReader.cs
- DetailsViewUpdatedEventArgs.cs
- AliasedExpr.cs