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
- Transform3DGroup.cs
- SqlMethodTransformer.cs
- ThreadExceptionEvent.cs
- InstanceStoreQueryResult.cs
- ServiceDescriptionImporter.cs
- HtmlEncodedRawTextWriter.cs
- Model3D.cs
- StateMachine.cs
- MexNamedPipeBindingCollectionElement.cs
- Psha1DerivedKeyGeneratorHelper.cs
- JsonWriter.cs
- TemplatedWizardStep.cs
- Constraint.cs
- AssignDesigner.xaml.cs
- XPathParser.cs
- Animatable.cs
- DeploymentSection.cs
- DurableRuntimeValidator.cs
- COM2IDispatchConverter.cs
- DbConnectionPoolIdentity.cs
- ApplicationServiceManager.cs
- CommentAction.cs
- EventLogPermission.cs
- PrePrepareMethodAttribute.cs
- DetailsView.cs
- BulletedList.cs
- UpdatePanelTrigger.cs
- HttpModulesSection.cs
- GeometryModel3D.cs
- GraphicsPathIterator.cs
- HwndKeyboardInputProvider.cs
- HiddenFieldPageStatePersister.cs
- Parameter.cs
- odbcmetadatacolumnnames.cs
- Opcode.cs
- EditorZoneBase.cs
- DockAndAnchorLayout.cs
- Facet.cs
- NameGenerator.cs
- BinaryFormatterWriter.cs
- mediaclock.cs
- ObjectList.cs
- ConfigXmlElement.cs
- GestureRecognizer.cs
- WorkflowServiceAttributesTypeConverter.cs
- AssemblyHelper.cs
- TextMarkerSource.cs
- SelectionItemProviderWrapper.cs
- AggregateNode.cs
- Permission.cs
- HorizontalAlignConverter.cs
- IISUnsafeMethods.cs
- DocumentScope.cs
- ConfigurationValues.cs
- RecipientInfo.cs
- FlagsAttribute.cs
- AxHost.cs
- TimelineClockCollection.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SharedPerformanceCounter.cs
- Switch.cs
- ObjectConverter.cs
- GridViewRowPresenter.cs
- DummyDataSource.cs
- EnumValAlphaComparer.cs
- FloatUtil.cs
- DataSourceHelper.cs
- WebPartRestoreVerb.cs
- WebBrowserUriTypeConverter.cs
- HttpDictionary.cs
- WindowsFormsHost.cs
- PrimitiveCodeDomSerializer.cs
- ValueProviderWrapper.cs
- MD5.cs
- FreeFormDragDropManager.cs
- GAC.cs
- DynamicValidatorEventArgs.cs
- SimpleHandlerFactory.cs
- NamespaceListProperty.cs
- FixedTextContainer.cs
- TextFormatterImp.cs
- Logging.cs
- FieldToken.cs
- Size3D.cs
- SizeFConverter.cs
- InvalidPrinterException.cs
- BaseServiceProvider.cs
- CheckBox.cs
- OdbcConnection.cs
- PenCursorManager.cs
- DrawingGroupDrawingContext.cs
- BasicAsyncResult.cs
- DPCustomTypeDescriptor.cs
- httpapplicationstate.cs
- SecurityState.cs
- CultureInfo.cs
- PrintDialogException.cs
- SchemaTypeEmitter.cs
- FunctionNode.cs
- IncrementalCompileAnalyzer.cs