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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QueryCacheManager.cs
- ControlTemplate.cs
- ListViewItem.cs
- DefaultBindingPropertyAttribute.cs
- DispatcherFrame.cs
- SoapTypeAttribute.cs
- NetCodeGroup.cs
- NameValueCollection.cs
- PlainXmlWriter.cs
- PathSegment.cs
- SQLDateTimeStorage.cs
- RewritingValidator.cs
- ChtmlTextWriter.cs
- Expression.DebuggerProxy.cs
- CodeDefaultValueExpression.cs
- ListBox.cs
- ComNativeDescriptor.cs
- PublisherMembershipCondition.cs
- DataServiceQuery.cs
- EdmFunction.cs
- GorillaCodec.cs
- Opcode.cs
- AddInController.cs
- Int16.cs
- SiteMapDataSourceView.cs
- CheckoutException.cs
- ServiceNameElement.cs
- ScriptReferenceEventArgs.cs
- ScriptingAuthenticationServiceSection.cs
- AspNetHostingPermission.cs
- TraceListeners.cs
- ReachDocumentReferenceSerializer.cs
- SelectionProviderWrapper.cs
- CollectionType.cs
- FacetEnabledSchemaElement.cs
- SqlDataSourceView.cs
- DataObject.cs
- IisTraceListener.cs
- BinHexDecoder.cs
- ReplyAdapterChannelListener.cs
- MetafileHeader.cs
- ProgressBarAutomationPeer.cs
- GenericIdentity.cs
- WebPartPersonalization.cs
- FileAuthorizationModule.cs
- ExpressionBuilder.cs
- HttpModulesSection.cs
- HtmlGenericControl.cs
- OdbcConnectionString.cs
- TreeNodeBinding.cs
- SafeRegistryKey.cs
- Cursors.cs
- EntitySqlQueryCacheKey.cs
- ServiceKnownTypeAttribute.cs
- InvokeBase.cs
- CodeAttachEventStatement.cs
- DataGridViewColumnHeaderCell.cs
- KnownIds.cs
- ProfileBuildProvider.cs
- TransactionTable.cs
- DataGridRow.cs
- Property.cs
- XsltException.cs
- DataGridViewCellCancelEventArgs.cs
- DbConnectionPoolOptions.cs
- LineGeometry.cs
- XmlTypeMapping.cs
- SqlCacheDependency.cs
- HtmlTernaryTree.cs
- Size3D.cs
- BitmapSourceSafeMILHandle.cs
- IsolatedStorageFileStream.cs
- CollectionAdapters.cs
- OdbcDataReader.cs
- ConcurrentQueue.cs
- DataServiceOperationContext.cs
- FormsAuthenticationCredentials.cs
- ToolBar.cs
- dbdatarecord.cs
- WpfWebRequestHelper.cs
- PerfCounterSection.cs
- FixUpCollection.cs
- DriveInfo.cs
- SelectorAutomationPeer.cs
- X509PeerCertificateAuthentication.cs
- MULTI_QI.cs
- CheckBox.cs
- ToolStripItem.cs
- DataSourceSelectArguments.cs
- PrintController.cs
- CustomServiceCredentials.cs
- TerminatorSinks.cs
- XComponentModel.cs
- TextDecorationCollection.cs
- QuotedStringWriteStateInfo.cs
- ReadOnlyObservableCollection.cs
- GenericQueueSurrogate.cs
- StorageEntityContainerMapping.cs
- WindowsFormsHelpers.cs
- LinkTarget.cs