Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / DataServiceRequestOfT.cs / 1 / DataServiceRequestOfT.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// typed request object // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections; using System.IO; using System.Linq; ////// Holds a Uri and type for the request. /// ///The type to construct for the request results public sealed class DataServiceRequest: DataServiceRequest { /// The URI for the request. private readonly Uri requestUri; ///Create a request for a specific Uri /// The URI for the request. public DataServiceRequest(Uri requestUri) { Util.CheckArgumentNull(requestUri, "requestUri"); this.requestUri = requestUri; } ///Element Type public override Type ElementType { get { return typeof(TElement); } } ///The URI for the request. public override Uri RequestUri { get { return this.requestUri; } } ///enumerable of materialized objects from stream without having to know T /// context /// contentType /// function to get response stream ///see summary internal override IEnumerable Materialize(DataServiceContext context, string contentType, Funcresponse) { return Materialize (context, contentType, response); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //// typed request object // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Collections; using System.IO; using System.Linq; ////// Holds a Uri and type for the request. /// ///The type to construct for the request results public sealed class DataServiceRequest: DataServiceRequest { /// The URI for the request. private readonly Uri requestUri; ///Create a request for a specific Uri /// The URI for the request. public DataServiceRequest(Uri requestUri) { Util.CheckArgumentNull(requestUri, "requestUri"); this.requestUri = requestUri; } ///Element Type public override Type ElementType { get { return typeof(TElement); } } ///The URI for the request. public override Uri RequestUri { get { return this.requestUri; } } ///enumerable of materialized objects from stream without having to know T /// context /// contentType /// function to get response stream ///see summary internal override IEnumerable Materialize(DataServiceContext context, string contentType, Funcresponse) { return Materialize (context, contentType, response); } } } // 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
- CryptoHandle.cs
- RegexWorker.cs
- dataprotectionpermissionattribute.cs
- InputScope.cs
- ReadOnlyAttribute.cs
- DataProtection.cs
- ServiceOperationViewControl.cs
- ToolStripContainer.cs
- FormatException.cs
- UserControlBuildProvider.cs
- ActivityPreviewDesigner.cs
- oledbmetadatacollectionnames.cs
- Binding.cs
- DesignerForm.cs
- TableRowGroupCollection.cs
- SafeNativeMethods.cs
- HiddenFieldPageStatePersister.cs
- HTMLTextWriter.cs
- SqlBulkCopyColumnMappingCollection.cs
- Exception.cs
- PageContent.cs
- SiteMapNode.cs
- DoubleAnimationBase.cs
- ReceiveSecurityHeaderEntry.cs
- JsonByteArrayDataContract.cs
- XmlStreamStore.cs
- RadioButton.cs
- CertificateElement.cs
- Recipient.cs
- HyperLinkStyle.cs
- GroupDescription.cs
- QilLoop.cs
- DLinqAssociationProvider.cs
- WorkflowValidationFailedException.cs
- ExceptionAggregator.cs
- FontStyleConverter.cs
- NGCPageContentSerializerAsync.cs
- DbParameterHelper.cs
- ColumnHeaderCollectionEditor.cs
- AdornedElementPlaceholder.cs
- DataTableMapping.cs
- ToolStripArrowRenderEventArgs.cs
- ValueCollectionParameterReader.cs
- BitmapEffectInput.cs
- _HeaderInfoTable.cs
- Classification.cs
- GridViewRow.cs
- XmlDataSourceView.cs
- BypassElement.cs
- ConfigurationStrings.cs
- ScriptDescriptor.cs
- XmlSchemaDatatype.cs
- SelectionPattern.cs
- IISUnsafeMethods.cs
- ModuleConfigurationInfo.cs
- PerformanceCounterPermission.cs
- SchemaMapping.cs
- AnnotationDocumentPaginator.cs
- EdmError.cs
- SqlRewriteScalarSubqueries.cs
- SQLBoolean.cs
- ToolbarAUtomationPeer.cs
- ButtonBaseAdapter.cs
- ViewPort3D.cs
- BamlResourceSerializer.cs
- Utils.cs
- TabRenderer.cs
- RegisteredArrayDeclaration.cs
- DriveInfo.cs
- AttachedAnnotation.cs
- XXXInfos.cs
- UIElement3D.cs
- ValueQuery.cs
- ResXBuildProvider.cs
- XPathBuilder.cs
- TransformerConfigurationWizardBase.cs
- AssemblyResourceLoader.cs
- TCEAdapterGenerator.cs
- Base64Decoder.cs
- FullTrustAssembly.cs
- RuntimeEnvironment.cs
- Rectangle.cs
- StdRegProviderWrapper.cs
- JsonWriter.cs
- AssemblyAssociatedContentFileAttribute.cs
- StylusButtonEventArgs.cs
- ProtocolViolationException.cs
- HttpPostedFileBase.cs
- GridToolTip.cs
- TraceLog.cs
- ResourceCategoryAttribute.cs
- RegexStringValidatorAttribute.cs
- HtmlInputPassword.cs
- CharKeyFrameCollection.cs
- AsynchronousChannelMergeEnumerator.cs
- TypeToStringValueConverter.cs
- WeakReferenceList.cs
- CompilerTypeWithParams.cs
- ComponentCommands.cs
- ImageSource.cs