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
- RequestCache.cs
- TextEditorSelection.cs
- SspiHelper.cs
- BrowsableAttribute.cs
- AssociationTypeEmitter.cs
- NamedPermissionSet.cs
- ThemeDirectoryCompiler.cs
- StackBuilderSink.cs
- ReverseInheritProperty.cs
- NavigationFailedEventArgs.cs
- BitmapSource.cs
- CqlErrorHelper.cs
- SliderAutomationPeer.cs
- SoapIgnoreAttribute.cs
- DesignerVerb.cs
- ExpressionBinding.cs
- XsltException.cs
- WindowClosedEventArgs.cs
- LiteralTextContainerControlBuilder.cs
- PassportIdentity.cs
- MetadataArtifactLoaderComposite.cs
- DictionaryBase.cs
- Soap12ProtocolReflector.cs
- ToolbarAUtomationPeer.cs
- HtmlInputSubmit.cs
- XsdDateTime.cs
- WebPartEditorApplyVerb.cs
- ShaperBuffers.cs
- XPathSingletonIterator.cs
- ZipIOCentralDirectoryFileHeader.cs
- TouchFrameEventArgs.cs
- TrackingMemoryStreamFactory.cs
- Sequence.cs
- OperatingSystem.cs
- IconHelper.cs
- MatrixCamera.cs
- FixedSOMImage.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- WindowsUpDown.cs
- AsymmetricKeyExchangeFormatter.cs
- LocalizationParserHooks.cs
- JapaneseLunisolarCalendar.cs
- CheckBoxBaseAdapter.cs
- BinaryReader.cs
- StyleSelector.cs
- _CommandStream.cs
- FacetValueContainer.cs
- ObjectDataSourceMethodEventArgs.cs
- DomNameTable.cs
- FontEmbeddingManager.cs
- CharStorage.cs
- CustomSignedXml.cs
- EventLevel.cs
- NetworkInformationPermission.cs
- X509CertificateCollection.cs
- StartFileNameEditor.cs
- IntegerValidatorAttribute.cs
- TimeoutException.cs
- TypeBuilder.cs
- CustomErrorsSection.cs
- NetTcpSecurity.cs
- BindingCompleteEventArgs.cs
- PolyBezierSegmentFigureLogic.cs
- MessageBox.cs
- externdll.cs
- HttpRequest.cs
- recordstatefactory.cs
- LocalValueEnumerator.cs
- DefaultValueAttribute.cs
- MailWriter.cs
- SHA512Managed.cs
- PointUtil.cs
- DataObjectCopyingEventArgs.cs
- ListSourceHelper.cs
- DefaultValueAttribute.cs
- OdbcInfoMessageEvent.cs
- UserControlBuildProvider.cs
- RepeatInfo.cs
- Roles.cs
- DEREncoding.cs
- XmlWriter.cs
- ProtocolsConfiguration.cs
- UrlPropertyAttribute.cs
- StructureChangedEventArgs.cs
- log.cs
- HistoryEventArgs.cs
- GridItemPattern.cs
- SerializationSectionGroup.cs
- ToolStripGripRenderEventArgs.cs
- DataColumn.cs
- WebRequestModuleElementCollection.cs
- Crc32.cs
- FilteredXmlReader.cs
- ItemsChangedEventArgs.cs
- ModelItemImpl.cs
- PropertyGeneratedEventArgs.cs
- ValidationPropertyAttribute.cs
- FilteredAttributeCollection.cs
- AuthenticatingEventArgs.cs
- BitmapEffectDrawing.cs