Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / MimeFormReflector.cs / 1305376 / MimeFormReflector.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.Xml.Schema; using System.Collections; using System; using System.Reflection; internal class MimeFormReflector : MimeReflector { internal override bool ReflectParameters() { if (!HtmlFormParameterReader.IsSupported(ReflectionContext.Method)) return false; ReflectionContext.ReflectStringParametersMessage(); MimeContentBinding mimeContentBinding = new MimeContentBinding(); mimeContentBinding.Type = HtmlFormParameterReader.MimeType; ReflectionContext.OperationBinding.Input.Extensions.Add(mimeContentBinding); return true; } internal override bool ReflectReturn() { return false; } } } // 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; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.Xml.Schema; using System.Collections; using System; using System.Reflection; internal class MimeFormReflector : MimeReflector { internal override bool ReflectParameters() { if (!HtmlFormParameterReader.IsSupported(ReflectionContext.Method)) return false; ReflectionContext.ReflectStringParametersMessage(); MimeContentBinding mimeContentBinding = new MimeContentBinding(); mimeContentBinding.Type = HtmlFormParameterReader.MimeType; ReflectionContext.OperationBinding.Input.Extensions.Add(mimeContentBinding); return true; } internal override bool ReflectReturn() { 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
- MailAddressCollection.cs
- TargetControlTypeCache.cs
- DivideByZeroException.cs
- BinaryReader.cs
- SolidColorBrush.cs
- Exceptions.cs
- QilFactory.cs
- StringToken.cs
- SafeEventLogWriteHandle.cs
- DrawingBrush.cs
- AuthStoreRoleProvider.cs
- XmlEncoding.cs
- FixedSOMLineRanges.cs
- CaseStatementSlot.cs
- DataBoundControlParameterTarget.cs
- NavigateUrlConverter.cs
- TagPrefixCollection.cs
- SkinBuilder.cs
- OdbcEnvironmentHandle.cs
- EncoderParameters.cs
- StrongName.cs
- WebUtil.cs
- SvcMapFileLoader.cs
- DataGridDesigner.cs
- TreeNodeEventArgs.cs
- MethodImplAttribute.cs
- ITreeGenerator.cs
- BindingContext.cs
- UIntPtr.cs
- DictionaryEditChange.cs
- Point4D.cs
- XmlAggregates.cs
- PointCollection.cs
- _ListenerResponseStream.cs
- ReturnValue.cs
- cookiecollection.cs
- InputDevice.cs
- OLEDB_Enum.cs
- SubqueryRules.cs
- XmlIgnoreAttribute.cs
- DataQuery.cs
- HealthMonitoringSectionHelper.cs
- TimeZoneInfo.cs
- TimeSpanValidatorAttribute.cs
- DataGridViewCellParsingEventArgs.cs
- GeometryHitTestParameters.cs
- RowUpdatingEventArgs.cs
- AdornerLayer.cs
- TypeBuilder.cs
- InteropAutomationProvider.cs
- BooleanFacetDescriptionElement.cs
- WeakKeyDictionary.cs
- DataKeyArray.cs
- WebPart.cs
- PngBitmapDecoder.cs
- MethodAccessException.cs
- WebPartAuthorizationEventArgs.cs
- FileUpload.cs
- BooleanProjectedSlot.cs
- OleDragDropHandler.cs
- Task.cs
- HttpModuleActionCollection.cs
- GridView.cs
- selecteditemcollection.cs
- QueuePropertyVariants.cs
- DecimalConstantAttribute.cs
- ProfileServiceManager.cs
- DataSourceDesigner.cs
- XmlAnyAttributeAttribute.cs
- Span.cs
- CheckBoxList.cs
- DataGridCellsPresenter.cs
- CacheRequest.cs
- SerialErrors.cs
- ArcSegment.cs
- RIPEMD160.cs
- Compilation.cs
- RepeatButtonAutomationPeer.cs
- CompleteWizardStep.cs
- DependencyPropertyDescriptor.cs
- Mapping.cs
- FontFamily.cs
- WindowsImpersonationContext.cs
- MultiplexingDispatchMessageFormatter.cs
- TripleDES.cs
- ExpressionPrefixAttribute.cs
- Decimal.cs
- TryExpression.cs
- EventListenerClientSide.cs
- DbConnectionClosed.cs
- ExceptionRoutedEventArgs.cs
- DateTimeConverter2.cs
- DbCommandDefinition.cs
- HtmlTableCellCollection.cs
- TextSegment.cs
- MediaElement.cs
- HtmlLink.cs
- PathHelper.cs
- PointAnimationUsingKeyFrames.cs
- DetailsViewUpdatedEventArgs.cs