Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / HttpGetProtocolImporter.cs / 1305376 / HttpGetProtocolImporter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services.Protocols; internal class HttpGetProtocolImporter : HttpProtocolImporter { public HttpGetProtocolImporter() : base(false) { } public override string ProtocolName { get { return "HttpGet"; } } internal override Type BaseClass { get { if (Style == ServiceDescriptionImportStyle.Client) { return typeof(HttpGetClientProtocol); } else { return typeof(WebService); } } } protected override bool IsBindingSupported() { HttpBinding httpBinding = (HttpBinding)Binding.Extensions.Find(typeof(HttpBinding)); if (httpBinding == null) return false; if (httpBinding.Verb != "GET") return false; return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services.Protocols; internal class HttpGetProtocolImporter : HttpProtocolImporter { public HttpGetProtocolImporter() : base(false) { } public override string ProtocolName { get { return "HttpGet"; } } internal override Type BaseClass { get { if (Style == ServiceDescriptionImportStyle.Client) { return typeof(HttpGetClientProtocol); } else { return typeof(WebService); } } } protected override bool IsBindingSupported() { HttpBinding httpBinding = (HttpBinding)Binding.Extensions.Find(typeof(HttpBinding)); if (httpBinding == null) return false; if (httpBinding.Verb != "GET") return false; return true; } } } // 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
- CookielessHelper.cs
- XmlQueryOutput.cs
- ScrollBarRenderer.cs
- __Error.cs
- HijriCalendar.cs
- CultureTable.cs
- Schema.cs
- XamlWriter.cs
- SafeFileHandle.cs
- PathFigure.cs
- NetworkStream.cs
- SmtpFailedRecipientException.cs
- DashStyles.cs
- SecUtil.cs
- DateTimeConverter.cs
- PolyBezierSegment.cs
- wgx_exports.cs
- Switch.cs
- EntityType.cs
- WebPartUserCapability.cs
- CqlBlock.cs
- DrawingContextWalker.cs
- SqlProviderUtilities.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- Hex.cs
- BooleanFunctions.cs
- SharedStatics.cs
- DBNull.cs
- XslCompiledTransform.cs
- RegexGroup.cs
- SparseMemoryStream.cs
- UnicastIPAddressInformationCollection.cs
- FilteredSchemaElementLookUpTable.cs
- ButtonStandardAdapter.cs
- ComponentDispatcherThread.cs
- DrawingAttributesDefaultValueFactory.cs
- Subtree.cs
- CodeDOMProvider.cs
- HelpEvent.cs
- CodeTypeReference.cs
- DesignTimeTemplateParser.cs
- WebPartChrome.cs
- ServiceObjectContainer.cs
- StackBuilderSink.cs
- MessagePropertyDescription.cs
- Misc.cs
- ClonableStack.cs
- XmlSortKeyAccumulator.cs
- SqlNodeTypeOperators.cs
- ToolStripSeparator.cs
- TabletCollection.cs
- XmlTextAttribute.cs
- UserPrincipalNameElement.cs
- RemotingServices.cs
- SizeKeyFrameCollection.cs
- CancellableEnumerable.cs
- TagMapCollection.cs
- ActivityTypeCodeDomSerializer.cs
- BinaryParser.cs
- HtmlInputReset.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- TransformValueSerializer.cs
- iisPickupDirectory.cs
- EntityContainerRelationshipSet.cs
- DBSqlParserColumnCollection.cs
- loginstatus.cs
- XPathSelfQuery.cs
- SpellerHighlightLayer.cs
- Ipv6Element.cs
- ActivityBuilderHelper.cs
- ExtendedTransformFactory.cs
- XmlResolver.cs
- SqlHelper.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextEffect.cs
- PointUtil.cs
- RowBinding.cs
- entitydatasourceentitysetnameconverter.cs
- Classification.cs
- IsolatedStorageSecurityState.cs
- SynchronizedInputAdaptor.cs
- WebConfigurationFileMap.cs
- SafeArrayRankMismatchException.cs
- StatusStrip.cs
- TrustSection.cs
- BindingExpressionUncommonField.cs
- assertwrapper.cs
- EdmConstants.cs
- WebPartManagerInternals.cs
- PairComparer.cs
- DetailsViewRowCollection.cs
- ItemCollection.cs
- CollectionDataContract.cs
- XmlIlGenerator.cs
- PointIndependentAnimationStorage.cs
- ObjectNavigationPropertyMapping.cs
- Partitioner.cs
- ParenthesizePropertyNameAttribute.cs
- StaticResourceExtension.cs
- DataSourceControlBuilder.cs