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
- OperationAbortedException.cs
- ConnectionPoint.cs
- InvalidDataContractException.cs
- LocalizedNameDescriptionPair.cs
- GeometryGroup.cs
- PrintPreviewDialog.cs
- StrokeNodeData.cs
- IndexedSelectQueryOperator.cs
- DataServiceClientException.cs
- Single.cs
- SubtreeProcessor.cs
- WindowCollection.cs
- LayoutSettings.cs
- StatusBarItem.cs
- XmlMapping.cs
- unsafenativemethodsother.cs
- Serializer.cs
- FullTextBreakpoint.cs
- ViewUtilities.cs
- PrimitiveCodeDomSerializer.cs
- wgx_commands.cs
- AuthenticationSection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- StructuralObject.cs
- WeakEventManager.cs
- CheckedListBox.cs
- XXXOnTypeBuilderInstantiation.cs
- DataGridViewColumnEventArgs.cs
- EmbeddedMailObjectsCollection.cs
- ListCollectionView.cs
- ToolStripContentPanel.cs
- OptimisticConcurrencyException.cs
- ChannelServices.cs
- EditorReuseAttribute.cs
- SchemeSettingElement.cs
- SRGSCompiler.cs
- XmlSchemaSet.cs
- DefinitionBase.cs
- shaper.cs
- InternalEnumValidatorAttribute.cs
- QilInvoke.cs
- ApplySecurityAndSendAsyncResult.cs
- SQLCharsStorage.cs
- ColorPalette.cs
- MulticastDelegate.cs
- Evidence.cs
- FreeFormPanel.cs
- util.cs
- SamlAuthorizationDecisionClaimResource.cs
- ConversionValidationRule.cs
- ObsoleteAttribute.cs
- CompositeDuplexBindingElementImporter.cs
- XmlArrayItemAttribute.cs
- DesignerVerbCollection.cs
- ClusterRegistryConfigurationProvider.cs
- FileDialogPermission.cs
- SecureStringHasher.cs
- ZipIOExtraFieldZip64Element.cs
- HttpProcessUtility.cs
- IChannel.cs
- EventSetterHandlerConverter.cs
- MULTI_QI.cs
- MobileResource.cs
- HttpCookieCollection.cs
- TimeoutTimer.cs
- RootBrowserWindowAutomationPeer.cs
- SelectionItemPattern.cs
- GraphicsPath.cs
- PauseStoryboard.cs
- MimeObjectFactory.cs
- BaseCodeDomTreeGenerator.cs
- DataGridItem.cs
- LicFileLicenseProvider.cs
- TransactionFlowBindingElement.cs
- MetabaseSettingsIis7.cs
- RawUIStateInputReport.cs
- complextypematerializer.cs
- ConditionalAttribute.cs
- ToolboxItemImageConverter.cs
- VarRemapper.cs
- SapiInterop.cs
- SmtpNtlmAuthenticationModule.cs
- IPEndPointCollection.cs
- TreeViewImageGenerator.cs
- HtmlHistory.cs
- InstanceDataCollectionCollection.cs
- CapacityStreamGeometryContext.cs
- DataObjectPastingEventArgs.cs
- XsdDuration.cs
- KeyedQueue.cs
- SmiEventSink_Default.cs
- StrongNameIdentityPermission.cs
- ClusterRegistryConfigurationProvider.cs
- HtmlControl.cs
- CompilationLock.cs
- WebPartConnectionsDisconnectVerb.cs
- StatusBarItemAutomationPeer.cs
- Message.cs
- XPathNavigatorReader.cs
- DrawingGroupDrawingContext.cs