Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / QueryOperationResponseOfT.cs / 2 / QueryOperationResponseOfT.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Response to a batched query. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System.Collections; using System.Collections.Generic; ////// Response to a batched query. /// ///The type to construct for the request results [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] public sealed class QueryOperationResponse: QueryOperationResponse, IEnumerable { /// /// constructor /// /// HTTP headers /// original query /// retrieved objects internal QueryOperationResponse(Dictionaryheaders, DataServiceRequest query, IEnumerable results) : base(headers, query, results) { } /// Results from a query ///enumerator of objects in query public new IEnumeratorGetEnumerator() { return ((IEnumerable )this.Results).GetEnumerator(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //// Response to a batched query. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System.Collections; using System.Collections.Generic; ////// Response to a batched query. /// ///The type to construct for the request results [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")] public sealed class QueryOperationResponse: QueryOperationResponse, IEnumerable { /// /// constructor /// /// HTTP headers /// original query /// retrieved objects internal QueryOperationResponse(Dictionaryheaders, DataServiceRequest query, IEnumerable results) : base(headers, query, results) { } /// Results from a query ///enumerator of objects in query public new IEnumeratorGetEnumerator() { return ((IEnumerable )this.Results).GetEnumerator(); } } } // 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
- AlphaSortedEnumConverter.cs
- ColorTranslator.cs
- CorrelationQuery.cs
- XmlSchemaSearchPattern.cs
- LiteralTextContainerControlBuilder.cs
- CloudCollection.cs
- TiffBitmapEncoder.cs
- SQLChars.cs
- TableStyle.cs
- OpenCollectionAsyncResult.cs
- FrameworkContentElement.cs
- VoiceChangeEventArgs.cs
- SortAction.cs
- ScrollItemPattern.cs
- Camera.cs
- ToolStripStatusLabel.cs
- ValueQuery.cs
- EditorZoneBase.cs
- StaticResourceExtension.cs
- DesignTimeTemplateParser.cs
- StdRegProviderWrapper.cs
- ComplexType.cs
- QilPatternVisitor.cs
- ApplicationServicesHostFactory.cs
- MyContact.cs
- PrimarySelectionAdorner.cs
- TokenBasedSetEnumerator.cs
- TextElementEditingBehaviorAttribute.cs
- LifetimeServices.cs
- CodeSnippetExpression.cs
- ProvideValueServiceProvider.cs
- IsolatedStorageFile.cs
- VBIdentifierName.cs
- FormViewUpdatedEventArgs.cs
- BinaryFormatter.cs
- CustomErrorCollection.cs
- RightNameExpirationInfoPair.cs
- RC2.cs
- VisualStyleRenderer.cs
- DirectoryNotFoundException.cs
- ProgressBarRenderer.cs
- ArglessEventHandlerProxy.cs
- GeneralTransform3DTo2DTo3D.cs
- XmlTextReader.cs
- _HelperAsyncResults.cs
- CalendarTable.cs
- DependencyPropertyAttribute.cs
- __ConsoleStream.cs
- PageThemeBuildProvider.cs
- WindowsAuthenticationModule.cs
- ConfigurationProperty.cs
- MethodBuilderInstantiation.cs
- CodeParameterDeclarationExpression.cs
- ControlParameter.cs
- UrlMappingsSection.cs
- ContextStack.cs
- WindowsToolbar.cs
- ImpersonateTokenRef.cs
- templategroup.cs
- BindableAttribute.cs
- CodeComment.cs
- DrawToolTipEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- ObjectPersistData.cs
- CustomSignedXml.cs
- LoginUtil.cs
- OTFRasterizer.cs
- TemplateParser.cs
- NumericExpr.cs
- IRCollection.cs
- PasswordRecoveryAutoFormat.cs
- SoapExtensionTypeElementCollection.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- ListItemCollection.cs
- EndpointAddress10.cs
- RowToParametersTransformer.cs
- RecognitionEventArgs.cs
- ViewCellRelation.cs
- Command.cs
- StringSource.cs
- MasterPageBuildProvider.cs
- ProtocolProfile.cs
- SerializationFieldInfo.cs
- RuntimeArgumentHandle.cs
- ProgressBar.cs
- webeventbuffer.cs
- LiteralLink.cs
- ViewDesigner.cs
- Psha1DerivedKeyGenerator.cs
- ScaleTransform3D.cs
- HwndMouseInputProvider.cs
- future.cs
- VisualTreeHelper.cs
- RankException.cs
- BamlTreeNode.cs
- COSERVERINFO.cs
- Menu.cs
- DataGridViewCellParsingEventArgs.cs
- OleDbWrapper.cs
- ListBoxItem.cs