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
- EarlyBoundInfo.cs
- DocumentPage.cs
- BitSet.cs
- DesignerProperties.cs
- FontStretchConverter.cs
- GrabHandleGlyph.cs
- FixedPosition.cs
- CatalogPartChrome.cs
- Ref.cs
- AutoGeneratedField.cs
- Confirm.cs
- OutOfMemoryException.cs
- SHA1Managed.cs
- DocumentPage.cs
- MessagePropertyVariants.cs
- TagPrefixCollection.cs
- ResourceAttributes.cs
- EntitySet.cs
- DefaultSerializationProviderAttribute.cs
- EventToken.cs
- glyphs.cs
- WsatExtendedInformation.cs
- Light.cs
- DWriteFactory.cs
- AutomationProperty.cs
- ZoomComboBox.cs
- UnsafeNativeMethods.cs
- PeerToPeerException.cs
- IsolatedStoragePermission.cs
- BaseProcessor.cs
- ProviderMetadataCachedInformation.cs
- DataGridColumnCollection.cs
- ConfigurationErrorsException.cs
- XMLUtil.cs
- PageThemeBuildProvider.cs
- EventInfo.cs
- Solver.cs
- GridViewSortEventArgs.cs
- MetadataCacheItem.cs
- BinaryKeyIdentifierClause.cs
- CreationContext.cs
- HtmlHead.cs
- PolyBezierSegment.cs
- AssemblyCache.cs
- Marshal.cs
- TransactionScope.cs
- HostedHttpRequestAsyncResult.cs
- DocobjHost.cs
- RegionInfo.cs
- ModuleBuilderData.cs
- CombinedGeometry.cs
- EmptyEnumerator.cs
- Encoding.cs
- CompressEmulationStream.cs
- WindowsUpDown.cs
- WmlValidationSummaryAdapter.cs
- ApplicationManager.cs
- SqlBooleanMismatchVisitor.cs
- MenuTracker.cs
- RoutedEventHandlerInfo.cs
- Size3D.cs
- BehaviorDragDropEventArgs.cs
- VisualStyleTypesAndProperties.cs
- IsolationInterop.cs
- EventManager.cs
- SqlCharStream.cs
- MailSettingsSection.cs
- BindingExpression.cs
- AdRotatorDesigner.cs
- MetaData.cs
- ContentPropertyAttribute.cs
- AutomationPatternInfo.cs
- FormViewDeleteEventArgs.cs
- FixedSOMTextRun.cs
- RecommendedAsConfigurableAttribute.cs
- SafeProcessHandle.cs
- DataGridTextBox.cs
- MultiplexingFormatMapping.cs
- TabRenderer.cs
- PropertyItem.cs
- TextElementEditingBehaviorAttribute.cs
- CompensationDesigner.cs
- SapiRecoInterop.cs
- InvalidOperationException.cs
- ContentIterators.cs
- DesignerDataView.cs
- UInt32Converter.cs
- AppDomainAttributes.cs
- ButtonBaseAutomationPeer.cs
- CommandHelper.cs
- FormatterServices.cs
- HtmlInputHidden.cs
- Rectangle.cs
- PropertyManager.cs
- PreservationFileWriter.cs
- HttpContext.cs
- StdValidatorsAndConverters.cs
- EmptyStringExpandableObjectConverter.cs
- InternalBufferOverflowException.cs
- ContainerSelectorGlyph.cs