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
- wgx_commands.cs
- PropertyGroupDescription.cs
- GroupBoxAutomationPeer.cs
- FlowDocumentReader.cs
- PackageRelationshipCollection.cs
- CodeTryCatchFinallyStatement.cs
- DataViewSettingCollection.cs
- SmtpLoginAuthenticationModule.cs
- TemplateApplicationHelper.cs
- ModuleBuilderData.cs
- KeyGestureConverter.cs
- TextTreeUndoUnit.cs
- ContentDisposition.cs
- TextTreeInsertElementUndoUnit.cs
- Condition.cs
- UnknownWrapper.cs
- BinarySerializer.cs
- CodeDirectoryCompiler.cs
- ToolStripItemTextRenderEventArgs.cs
- QilGenerator.cs
- WebUtil.cs
- DataGridItemCollection.cs
- DbConnectionStringCommon.cs
- TextBoxDesigner.cs
- XPathNavigatorReader.cs
- ContextMenuAutomationPeer.cs
- TreeNode.cs
- ToolStripMenuItem.cs
- BindingValueChangedEventArgs.cs
- CryptoApi.cs
- SmtpReplyReader.cs
- XmlSerializableWriter.cs
- DeferredRunTextReference.cs
- HttpProfileBase.cs
- UdpDuplexChannel.cs
- XsdDuration.cs
- GlyphingCache.cs
- CleanUpVirtualizedItemEventArgs.cs
- PersistNameAttribute.cs
- OleDbDataReader.cs
- OperatorExpressions.cs
- ObjectParameter.cs
- FontFaceLayoutInfo.cs
- DataServiceExpressionVisitor.cs
- VirtualDirectoryMappingCollection.cs
- SolidColorBrush.cs
- DataTableReaderListener.cs
- RegularExpressionValidator.cs
- PermissionAttributes.cs
- SafeTimerHandle.cs
- BaseResourcesBuildProvider.cs
- ReliableRequestSessionChannel.cs
- ObjectIDGenerator.cs
- BufferBuilder.cs
- OperationInfo.cs
- XmlQuerySequence.cs
- RootAction.cs
- CodeChecksumPragma.cs
- Predicate.cs
- XmlSchemaSimpleContent.cs
- PreviewKeyDownEventArgs.cs
- DrawingBrush.cs
- TemplateContent.cs
- FileDetails.cs
- TabRenderer.cs
- ValuePatternIdentifiers.cs
- GlobalId.cs
- Compiler.cs
- TdsParameterSetter.cs
- EntityTypeBase.cs
- SynchronizedInputAdaptor.cs
- BindingsCollection.cs
- SrgsGrammarCompiler.cs
- basenumberconverter.cs
- XhtmlBasicControlAdapter.cs
- WebPartEditorOkVerb.cs
- PreProcessInputEventArgs.cs
- LocalFileSettingsProvider.cs
- ToolStripStatusLabel.cs
- StandardCommands.cs
- ServicePointManagerElement.cs
- ExcCanonicalXml.cs
- LinearGradientBrush.cs
- IndentedTextWriter.cs
- HttpApplicationFactory.cs
- TempFiles.cs
- CompoundFileStorageReference.cs
- SecurityDescriptor.cs
- FrameDimension.cs
- RealizationDrawingContextWalker.cs
- BorderGapMaskConverter.cs
- ConnectionStringsSection.cs
- EditingScope.cs
- FacetDescriptionElement.cs
- TemplateManager.cs
- Propagator.Evaluator.cs
- LineServicesRun.cs
- XAMLParseException.cs
- RequestBringIntoViewEventArgs.cs
- HandlerMappingMemo.cs