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
- _HeaderInfoTable.cs
- WebService.cs
- GridPatternIdentifiers.cs
- LicenseContext.cs
- CompositeCollectionView.cs
- ImageIndexConverter.cs
- HtmlDocument.cs
- ArgumentDesigner.xaml.cs
- WorkflowInstanceContextProvider.cs
- Int16AnimationUsingKeyFrames.cs
- DefaultBinder.cs
- XamlClipboardData.cs
- FilterQueryOptionExpression.cs
- InheritanceAttribute.cs
- CodeTypeDelegate.cs
- HttpHandlerAction.cs
- PipelineModuleStepContainer.cs
- SwitchAttribute.cs
- MouseGestureConverter.cs
- UInt32.cs
- Compilation.cs
- ColumnHeader.cs
- BaseDataListActionList.cs
- HttpPostedFile.cs
- CodeRemoveEventStatement.cs
- ParameterBuilder.cs
- CheckBoxPopupAdapter.cs
- OAVariantLib.cs
- CompositeKey.cs
- DataObjectMethodAttribute.cs
- GifBitmapEncoder.cs
- VirtualDirectoryMappingCollection.cs
- ObjectViewFactory.cs
- OleDbDataAdapter.cs
- PropertyRecord.cs
- NavigationPropertyEmitter.cs
- ZipFileInfo.cs
- ViewValidator.cs
- StreamResourceInfo.cs
- TreeNodeStyleCollection.cs
- PageParser.cs
- RightNameExpirationInfoPair.cs
- TemplateControlCodeDomTreeGenerator.cs
- ToolStripHighContrastRenderer.cs
- ChannelReliableSession.cs
- Stroke.cs
- ToolStrip.cs
- ControlCollection.cs
- WebRequestModuleElementCollection.cs
- ServiceProviders.cs
- FlowLayoutSettings.cs
- ColorConverter.cs
- FollowerQueueCreator.cs
- SemanticValue.cs
- DesignBindingValueUIHandler.cs
- MultiView.cs
- TypeDescriptionProvider.cs
- SqlGenericUtil.cs
- SystemResourceKey.cs
- DocComment.cs
- RequiredFieldValidator.cs
- MoveSizeWinEventHandler.cs
- DoubleAnimationClockResource.cs
- RightsManagementSuppressedStream.cs
- GridView.cs
- Image.cs
- TransformerConfigurationWizardBase.cs
- MappedMetaModel.cs
- AsymmetricAlgorithm.cs
- Vector3D.cs
- TypePropertyEditor.cs
- _CacheStreams.cs
- CqlParser.cs
- Rotation3DKeyFrameCollection.cs
- CodeRegionDirective.cs
- FileClassifier.cs
- CurrentChangedEventManager.cs
- XmlSchemas.cs
- XmlILIndex.cs
- ChtmlImageAdapter.cs
- LoginDesigner.cs
- KeyValuePairs.cs
- DockingAttribute.cs
- WebSysDisplayNameAttribute.cs
- PolicyLevel.cs
- ArgumentValueSerializer.cs
- MetadataItem.cs
- Dictionary.cs
- HttpCacheVaryByContentEncodings.cs
- EmptyStringExpandableObjectConverter.cs
- ConfigurationLocationCollection.cs
- SevenBitStream.cs
- PriorityQueue.cs
- ValueUtilsSmi.cs
- EllipseGeometry.cs
- DeclarationUpdate.cs
- HostingPreferredMapPath.cs
- WebAdminConfigurationHelper.cs
- XmlSerializerVersionAttribute.cs
- XmlSchemaInferenceException.cs