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
- RunInstallerAttribute.cs
- ExceptionHandlersDesigner.cs
- LocationUpdates.cs
- MonthChangedEventArgs.cs
- EtwTrace.cs
- ResourceDescriptionAttribute.cs
- HMACSHA512.cs
- safesecurityhelperavalon.cs
- CalendarDay.cs
- DataGridCommandEventArgs.cs
- PositiveTimeSpanValidator.cs
- XPathNode.cs
- Container.cs
- RuleConditionDialog.Designer.cs
- DoubleLink.cs
- TextRunCache.cs
- NetCodeGroup.cs
- SqlUtils.cs
- Int16Converter.cs
- CommonEndpointBehaviorElement.cs
- PaintEvent.cs
- SQLByteStorage.cs
- ItemChangedEventArgs.cs
- XmlComment.cs
- PipelineModuleStepContainer.cs
- Control.cs
- Byte.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- XmlSchemaImporter.cs
- M3DUtil.cs
- DesignerVerb.cs
- DES.cs
- ProcessHostServerConfig.cs
- DesignerDataStoredProcedure.cs
- FormParameter.cs
- ToolboxComponentsCreatingEventArgs.cs
- RegexCapture.cs
- DocumentGridPage.cs
- Encoder.cs
- TextEditorSelection.cs
- DynamicScriptObject.cs
- TdsParser.cs
- FileFormatException.cs
- ErrorStyle.cs
- ViewRendering.cs
- RootProjectionNode.cs
- PartialCachingControl.cs
- XmlTypeAttribute.cs
- InkPresenterAutomationPeer.cs
- TrackingMemoryStreamFactory.cs
- DirectoryObjectSecurity.cs
- WebPartsSection.cs
- PrivacyNoticeElement.cs
- PagesSection.cs
- ChangeDirector.cs
- Part.cs
- QueryableDataSource.cs
- ServiceReference.cs
- SqlDataSourceEnumerator.cs
- SafeFileMapViewHandle.cs
- ReceiveActivityDesignerTheme.cs
- COM2ExtendedUITypeEditor.cs
- MessageFormatterConverter.cs
- InputBinding.cs
- recordstate.cs
- XmlSchemaChoice.cs
- MediaPlayer.cs
- Style.cs
- WorkflowFormatterBehavior.cs
- MissingSatelliteAssemblyException.cs
- BridgeDataReader.cs
- OleDbConnectionFactory.cs
- TiffBitmapEncoder.cs
- LookupNode.cs
- SqlMethodCallConverter.cs
- UserPersonalizationStateInfo.cs
- _LocalDataStore.cs
- Single.cs
- InputEventArgs.cs
- ProviderSettings.cs
- StringUtil.cs
- InkPresenter.cs
- DataGridViewCellPaintingEventArgs.cs
- CompiledRegexRunnerFactory.cs
- MsdtcWrapper.cs
- DataKeyArray.cs
- ISAPIApplicationHost.cs
- LinkedResourceCollection.cs
- LayoutEvent.cs
- Unit.cs
- ClientBuildManagerCallback.cs
- ButtonColumn.cs
- CanonicalFontFamilyReference.cs
- VerificationException.cs
- PrivilegedConfigurationManager.cs
- RawStylusActions.cs
- CreateUserWizardStep.cs
- _SslStream.cs
- PlanCompilerUtil.cs
- WorkflowRuntime.cs