Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / UrlParameterWriter.cs / 1305376 / UrlParameterWriter.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Services.Protocols {
using System.IO;
using System;
using System.Xml.Serialization;
using System.Reflection;
using System.Collections;
using System.Text;
using System.Web.Services;
using System.Net;
using System.Globalization;
///
///
/// [To be supplied.]
///
public class UrlParameterWriter : UrlEncodedParameterWriter {
///
///
/// [To be supplied.]
///
public override string GetRequestUrl(string url, object[] parameters) {
if (parameters.Length == 0) return url;
StringBuilder builder = new StringBuilder(url);
builder.Append('?');
TextWriter writer = new StringWriter(builder, CultureInfo.InvariantCulture);
Encode(writer, parameters);
writer.Flush();
return builder.ToString();
}
}
}
// 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
- TypefaceMetricsCache.cs
- RuntimeHelpers.cs
- ComponentDispatcherThread.cs
- DiscoveryClientDocuments.cs
- SkewTransform.cs
- ObjectReferenceStack.cs
- _NestedSingleAsyncResult.cs
- KoreanCalendar.cs
- VisualCollection.cs
- APCustomTypeDescriptor.cs
- Ticks.cs
- HttpProcessUtility.cs
- XmlSchemaGroup.cs
- ValueTable.cs
- RegexCompiler.cs
- RequestSecurityTokenResponse.cs
- MemoryMappedFileSecurity.cs
- XmlCharCheckingWriter.cs
- CodeValidator.cs
- ScriptReferenceBase.cs
- EntityClientCacheEntry.cs
- SamlEvidence.cs
- MatrixAnimationUsingPath.cs
- Win32Native.cs
- MaskedTextProvider.cs
- _HTTPDateParse.cs
- XmlElementElementCollection.cs
- GlyphRunDrawing.cs
- ElementMarkupObject.cs
- FunctionUpdateCommand.cs
- Vector.cs
- SeparatorAutomationPeer.cs
- TextElementCollection.cs
- NameSpaceExtractor.cs
- NativeMethods.cs
- EntityDataSourceColumn.cs
- TextFormatterImp.cs
- KeyEvent.cs
- DesignerActionVerbItem.cs
- PointValueSerializer.cs
- TreeNodeBindingCollection.cs
- PeerDefaultCustomResolverClient.cs
- IPEndPoint.cs
- HostedHttpRequestAsyncResult.cs
- SvcMapFileSerializer.cs
- BackStopAuthenticationModule.cs
- XmlSchemaAppInfo.cs
- RTLAwareMessageBox.cs
- QilFunction.cs
- TypeSystemHelpers.cs
- PersistChildrenAttribute.cs
- WebPartExportVerb.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- XsltSettings.cs
- SqlBulkCopy.cs
- NamedObject.cs
- RangeContentEnumerator.cs
- MouseButton.cs
- WinInetCache.cs
- EncodingNLS.cs
- HttpCookieCollection.cs
- UriWriter.cs
- TextServicesPropertyRanges.cs
- ToolStripRendererSwitcher.cs
- Effect.cs
- Int32RectValueSerializer.cs
- SQLDecimal.cs
- MobileListItem.cs
- ButtonStandardAdapter.cs
- StackSpiller.cs
- ToolZone.cs
- PropertyChangedEventManager.cs
- LocalFileSettingsProvider.cs
- DbXmlEnabledProviderManifest.cs
- StreamInfo.cs
- SchemaElementDecl.cs
- updateconfighost.cs
- CurrentChangingEventManager.cs
- Rect.cs
- DataViewManager.cs
- TypeSystem.cs
- Helpers.cs
- XamlInt32CollectionSerializer.cs
- XPathNavigatorReader.cs
- PropertyEmitterBase.cs
- ButtonStandardAdapter.cs
- SortedList.cs
- TrackingDataItem.cs
- AttributeQuery.cs
- LoginDesigner.cs
- ExpressionVisitor.cs
- SoapFormatter.cs
- RenamedEventArgs.cs
- FontDifferentiator.cs
- DropShadowEffect.cs
- PathStreamGeometryContext.cs
- Membership.cs
- PanelStyle.cs
- DetailsViewUpdateEventArgs.cs
- NavigationWindowAutomationPeer.cs