Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- BinHexEncoder.cs
- TextModifierScope.cs
- DeclarativeExpressionConditionDeclaration.cs
- HitTestFilterBehavior.cs
- IntSumAggregationOperator.cs
- DrawToolTipEventArgs.cs
- SchemaSetCompiler.cs
- MenuItemBindingCollection.cs
- XmlProcessingInstruction.cs
- TableLayoutPanelCellPosition.cs
- SecurityStandardsManager.cs
- HostingEnvironmentWrapper.cs
- Rights.cs
- ObjectQuery_EntitySqlExtensions.cs
- SynchronizationLockException.cs
- keycontainerpermission.cs
- OutputCacheProfileCollection.cs
- MessageVersion.cs
- ObservableCollection.cs
- ValidationService.cs
- coordinatorfactory.cs
- NamedPipeConnectionPoolSettingsElement.cs
- InputProcessorProfilesLoader.cs
- XPathSelfQuery.cs
- ProxyWebPart.cs
- EntityDataSourceContextCreatedEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- COM2ExtendedTypeConverter.cs
- Int64Converter.cs
- StyleSheetComponentEditor.cs
- XmlSchemaCompilationSettings.cs
- AddInBase.cs
- TextRangeProviderWrapper.cs
- Version.cs
- CopyOnWriteList.cs
- FlatButtonAppearance.cs
- Highlights.cs
- ExpressionParser.cs
- EasingQuaternionKeyFrame.cs
- XmlMapping.cs
- DataGridViewBindingCompleteEventArgs.cs
- JpegBitmapDecoder.cs
- LazyTextWriterCreator.cs
- ReferencedType.cs
- SeverityFilter.cs
- CodeExpressionStatement.cs
- ToolStripPanelRenderEventArgs.cs
- SendSecurityHeaderElement.cs
- OledbConnectionStringbuilder.cs
- Number.cs
- FontCacheLogic.cs
- CurrentTimeZone.cs
- HostingEnvironmentSection.cs
- MailDefinition.cs
- NativeCompoundFileAPIs.cs
- smtpconnection.cs
- BulletChrome.cs
- NoResizeSelectionBorderGlyph.cs
- DataKeyArray.cs
- SchemaInfo.cs
- RefType.cs
- CollectionView.cs
- RIPEMD160.cs
- GcHandle.cs
- ThousandthOfEmRealDoubles.cs
- XmlToDatasetMap.cs
- XmlHierarchicalEnumerable.cs
- MarkupCompilePass1.cs
- OrderPreservingMergeHelper.cs
- ToolBar.cs
- ArithmeticException.cs
- FileLevelControlBuilderAttribute.cs
- Activator.cs
- Substitution.cs
- XmlChoiceIdentifierAttribute.cs
- StdValidatorsAndConverters.cs
- OneOfTypeConst.cs
- QueryInterceptorAttribute.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- Collection.cs
- UiaCoreApi.cs
- HtmlFormWrapper.cs
- ConfigurationManagerHelper.cs
- WindowInteractionStateTracker.cs
- Context.cs
- LambdaExpression.cs
- TypeValidationEventArgs.cs
- _NTAuthentication.cs
- ImageSourceConverter.cs
- AuthorizationRule.cs
- ContainerUtilities.cs
- AuthenticatingEventArgs.cs
- StoragePropertyMapping.cs
- TableRowGroup.cs
- FamilyMapCollection.cs
- DBNull.cs
- ScriptRef.cs
- CodeBinaryOperatorExpression.cs
- Int32CollectionConverter.cs
- RegexNode.cs