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
- SupportedAddressingMode.cs
- GlyphRunDrawing.cs
- versioninfo.cs
- HiddenField.cs
- ValidationResult.cs
- LineInfo.cs
- SchemaInfo.cs
- Model3DGroup.cs
- ConditionalAttribute.cs
- Error.cs
- ResourceReferenceExpressionConverter.cs
- Help.cs
- AutomationFocusChangedEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- CacheAxisQuery.cs
- HtmlTableCellCollection.cs
- CodeCommentStatementCollection.cs
- SecurityResources.cs
- StrokeSerializer.cs
- ListItemViewAttribute.cs
- StringHandle.cs
- TextDecorationLocationValidation.cs
- ArrayConverter.cs
- ToolStripDropDownMenu.cs
- DefaultAutoFieldGenerator.cs
- CalendarBlackoutDatesCollection.cs
- PeerNearMe.cs
- Quad.cs
- CommandHelpers.cs
- OdbcException.cs
- MappingException.cs
- XmlSchemaSet.cs
- DataObjectMethodAttribute.cs
- VariantWrapper.cs
- Util.cs
- ValidationEventArgs.cs
- SudsParser.cs
- SymDocumentType.cs
- Cursors.cs
- ClientTargetSection.cs
- AsynchronousChannel.cs
- SizeValueSerializer.cs
- UnsafeNativeMethods.cs
- EntityDescriptor.cs
- Win32.cs
- SystemIPGlobalStatistics.cs
- SafeUserTokenHandle.cs
- BuiltInExpr.cs
- AutoGeneratedField.cs
- ObsoleteAttribute.cs
- LogWriteRestartAreaState.cs
- PropertyGroupDescription.cs
- safelinkcollection.cs
- MimeMapping.cs
- PipelineModuleStepContainer.cs
- WindowsListViewItemCheckBox.cs
- PropertyChangedEventArgs.cs
- PixelShader.cs
- ComPlusDiagnosticTraceSchemas.cs
- CloudCollection.cs
- WeakEventManager.cs
- QilStrConcatenator.cs
- EditorZone.cs
- DocumentPageViewAutomationPeer.cs
- BamlWriter.cs
- UnmanagedMemoryStream.cs
- SemanticBasicElement.cs
- RegionIterator.cs
- SimpleWorkerRequest.cs
- DataGridViewRow.cs
- SqlStream.cs
- CreatingCookieEventArgs.cs
- EntityDataSourceWrapper.cs
- Viewport2DVisual3D.cs
- AbandonedMutexException.cs
- PatternMatcher.cs
- Win32SafeHandles.cs
- ConditionCollection.cs
- SessionStateItemCollection.cs
- FreezableCollection.cs
- ContractSearchPattern.cs
- VariableAction.cs
- ArrayWithOffset.cs
- ValidationEventArgs.cs
- xmlformatgeneratorstatics.cs
- NodeFunctions.cs
- Point3DAnimationBase.cs
- SimpleHandlerFactory.cs
- _ListenerRequestStream.cs
- NavigationCommands.cs
- ExpandableObjectConverter.cs
- AvTrace.cs
- ButtonBaseAutomationPeer.cs
- ToolStripControlHost.cs
- listitem.cs
- DataGridViewImageColumn.cs
- FontCacheUtil.cs
- DataContractJsonSerializer.cs
- ViewValidator.cs
- RadioButtonPopupAdapter.cs