Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- PropertyChangingEventArgs.cs
- Transform3DCollection.cs
- DataServiceContext.cs
- Triangle.cs
- counter.cs
- loginstatus.cs
- WbmpConverter.cs
- EntityTemplateFactory.cs
- ConfigurationLocation.cs
- QuaternionRotation3D.cs
- SslStream.cs
- StringOutput.cs
- Rectangle.cs
- MouseCaptureWithinProperty.cs
- ErrorTableItemStyle.cs
- UIElementPropertyUndoUnit.cs
- ArrayElementGridEntry.cs
- ThicknessKeyFrameCollection.cs
- ElementInit.cs
- AutomationIdentifier.cs
- Point.cs
- VariableQuery.cs
- TemplateContent.cs
- DocumentSequence.cs
- MemberDescriptor.cs
- AutoResetEvent.cs
- ForEachAction.cs
- SplitterEvent.cs
- KeyConstraint.cs
- TrackingLocation.cs
- IfAction.cs
- ToolStripOverflowButton.cs
- XmlSchemaSequence.cs
- SelectorAutomationPeer.cs
- HttpModulesSection.cs
- AssertHelper.cs
- ShutDownListener.cs
- CodeParameterDeclarationExpression.cs
- ForceCopyBuildProvider.cs
- DrawingAttributeSerializer.cs
- PointLightBase.cs
- OdbcParameter.cs
- IntSecurity.cs
- Message.cs
- Adorner.cs
- DrawingBrush.cs
- AddInDeploymentState.cs
- DefaultDialogButtons.cs
- CallbackException.cs
- ManagedFilter.cs
- HandlerFactoryCache.cs
- SparseMemoryStream.cs
- DataServiceQueryContinuation.cs
- ZoomPercentageConverter.cs
- RectAnimationClockResource.cs
- SerialPort.cs
- DateTimeUtil.cs
- TextRangeEditTables.cs
- GridLength.cs
- KeyedCollection.cs
- CollectionExtensions.cs
- AVElementHelper.cs
- MsdtcWrapper.cs
- SymbolEqualComparer.cs
- BigInt.cs
- HttpCookieCollection.cs
- UIElementParaClient.cs
- HtmlHead.cs
- WorkflowHostingResponseContext.cs
- wmiprovider.cs
- AssertUtility.cs
- ExpressionLink.cs
- SqlDataSourceFilteringEventArgs.cs
- WebResponse.cs
- OptimisticConcurrencyException.cs
- SetIndexBinder.cs
- MemberAccessException.cs
- Avt.cs
- BidOverLoads.cs
- IntSecurity.cs
- CatalogZoneBase.cs
- TextAction.cs
- SBCSCodePageEncoding.cs
- OutputScopeManager.cs
- UserControlDocumentDesigner.cs
- WebException.cs
- DataControlFieldCollection.cs
- Context.cs
- DesignerAttribute.cs
- ActivityCompletionCallbackWrapper.cs
- RewritingSimplifier.cs
- PieceDirectory.cs
- CodeMethodInvokeExpression.cs
- EventWaitHandle.cs
- AsyncInvokeContext.cs
- Validator.cs
- RsaSecurityToken.cs
- xsdvalidator.cs
- BindingExpression.cs
- CannotUnloadAppDomainException.cs