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
- RetrieveVirtualItemEventArgs.cs
- SpecialNameAttribute.cs
- XmlSchemaElement.cs
- VerificationAttribute.cs
- HtmlSelect.cs
- TemplatedWizardStep.cs
- XmlDesignerDataSourceView.cs
- RegexRunner.cs
- XmlFormatExtensionPrefixAttribute.cs
- WebBrowsableAttribute.cs
- InputMethodStateChangeEventArgs.cs
- ServerReliableChannelBinder.cs
- LoadRetryStrategyFactory.cs
- UInt32.cs
- ImageInfo.cs
- StringInfo.cs
- DocumentGridContextMenu.cs
- WebPartHelpVerb.cs
- PingOptions.cs
- WindowsListViewItemStartMenu.cs
- IPPacketInformation.cs
- StrongNameUtility.cs
- Missing.cs
- FixedSOMImage.cs
- ElementHost.cs
- WrapPanel.cs
- Sql8ConformanceChecker.cs
- Debug.cs
- QueryInterceptorAttribute.cs
- VirtualPath.cs
- TimeoutValidationAttribute.cs
- NamedPermissionSet.cs
- IfAction.cs
- UserControlParser.cs
- FullTrustAssemblyCollection.cs
- Pens.cs
- XmlPropertyBag.cs
- CodeAccessSecurityEngine.cs
- PackagePart.cs
- GridViewSelectEventArgs.cs
- TableHeaderCell.cs
- DbExpressionVisitor.cs
- WebPartDeleteVerb.cs
- _DisconnectOverlappedAsyncResult.cs
- PermissionRequestEvidence.cs
- WrapPanel.cs
- RootProfilePropertySettingsCollection.cs
- TraversalRequest.cs
- MenuAutomationPeer.cs
- XmlNodeWriter.cs
- InvokePattern.cs
- EnumCodeDomSerializer.cs
- Char.cs
- MediaPlayerState.cs
- DependencyPropertyConverter.cs
- XmlSchemaAll.cs
- PathNode.cs
- WeakReferenceList.cs
- ObjectHandle.cs
- BamlLocalizer.cs
- PieceDirectory.cs
- ActivityExecutor.cs
- ToolStripItemCollection.cs
- ImplicitInputBrush.cs
- ResourceAssociationSetEnd.cs
- HideDisabledControlAdapter.cs
- AggregatePushdown.cs
- Vertex.cs
- DataGrid.cs
- WorkerRequest.cs
- GridViewColumnCollection.cs
- ToolStripDropTargetManager.cs
- SplineKeyFrames.cs
- OdbcCommandBuilder.cs
- DynamicValueConverter.cs
- Size.cs
- Drawing.cs
- EventSourceCreationData.cs
- XhtmlBasicLinkAdapter.cs
- XamlTemplateSerializer.cs
- SuppressMessageAttribute.cs
- EtwTrace.cs
- XXXInfos.cs
- TypeResolver.cs
- StrokeCollection2.cs
- ButtonBaseAdapter.cs
- ResourceDescriptionAttribute.cs
- BulletChrome.cs
- Animatable.cs
- StaticSiteMapProvider.cs
- SqlBuilder.cs
- GetReadStreamResult.cs
- documentation.cs
- OdbcEnvironmentHandle.cs
- FormsAuthenticationModule.cs
- BindingValueChangedEventArgs.cs
- OptimalBreakSession.cs
- CharacterBuffer.cs
- SetterBaseCollection.cs
- GenerateHelper.cs