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
- TaiwanCalendar.cs
- Compiler.cs
- BinaryReader.cs
- ManagementEventArgs.cs
- HttpPostedFile.cs
- LayoutEditorPart.cs
- MemberListBinding.cs
- LoginView.cs
- WebMessageBodyStyleHelper.cs
- AssociationType.cs
- BindingMAnagerBase.cs
- LoadRetryConstantStrategy.cs
- CheckBoxBaseAdapter.cs
- RootBrowserWindowProxy.cs
- TreeView.cs
- EntityClientCacheKey.cs
- NetNamedPipeSecurityMode.cs
- Light.cs
- Comparer.cs
- TargetParameterCountException.cs
- GlobalizationSection.cs
- XmlHierarchicalDataSourceView.cs
- FileSystemWatcher.cs
- AsyncOperationLifetimeManager.cs
- UrlMapping.cs
- ResourceExpression.cs
- SqlNode.cs
- TreeBuilder.cs
- StructuralType.cs
- TimeZone.cs
- OptimalTextSource.cs
- EncodingFallbackAwareXmlTextWriter.cs
- ZipIOExtraFieldZip64Element.cs
- SmtpTransport.cs
- SingleAnimationUsingKeyFrames.cs
- OutputCacheSection.cs
- DynamicActivityTypeDescriptor.cs
- Comparer.cs
- FixedSOMGroup.cs
- EntryPointNotFoundException.cs
- ExtensionSimplifierMarkupObject.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- TailCallAnalyzer.cs
- DependentTransaction.cs
- IconBitmapDecoder.cs
- EdmProviderManifest.cs
- ElementUtil.cs
- OrderedEnumerableRowCollection.cs
- HtmlMeta.cs
- HandlerMappingMemo.cs
- DatatypeImplementation.cs
- Executor.cs
- InvalidProgramException.cs
- ListViewUpdateEventArgs.cs
- ComplexPropertyEntry.cs
- TypeUnloadedException.cs
- PickDesigner.xaml.cs
- MessageContractAttribute.cs
- UpdateProgress.cs
- FixedSOMPage.cs
- ListViewItem.cs
- CodeGenerator.cs
- IncrementalHitTester.cs
- AssemblyBuilder.cs
- ScaleTransform.cs
- Run.cs
- TransactionScopeDesigner.cs
- CreateCardRequest.cs
- ApplicationException.cs
- HiddenFieldPageStatePersister.cs
- ListParaClient.cs
- HtmlToClrEventProxy.cs
- CombinedGeometry.cs
- ProtocolElement.cs
- IntAverageAggregationOperator.cs
- UserControl.cs
- DataTemplateSelector.cs
- MatrixKeyFrameCollection.cs
- HtmlProps.cs
- SingleAnimation.cs
- PerformanceCounterCategory.cs
- Win32SafeHandles.cs
- HasCopySemanticsAttribute.cs
- CustomAttributeSerializer.cs
- Collection.cs
- ScaleTransform3D.cs
- ObjectListCommandEventArgs.cs
- XMLDiffLoader.cs
- ListManagerBindingsCollection.cs
- RequestCacheValidator.cs
- CFStream.cs
- AttachedAnnotationChangedEventArgs.cs
- Model3D.cs
- SymmetricAlgorithm.cs
- XMLSyntaxException.cs
- SchemaCollectionPreprocessor.cs
- CoTaskMemHandle.cs
- unsafenativemethodstextservices.cs
- WorkflowIdleBehavior.cs
- GroupBoxRenderer.cs