Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / MimeAnyImporter.cs / 1305376 / MimeAnyImporter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System.Web.Services; using System.Web.Services.Protocols; using System.IO; internal class MimeAnyImporter : MimeImporter { internal override MimeParameterCollection ImportParameters() { return null; } internal override MimeReturn ImportReturn() { if (ImportContext.OperationBinding.Output.Extensions.Count == 0) return null; MimeReturn importedReturn = new MimeReturn(); importedReturn.TypeName = typeof(Stream).FullName; importedReturn.ReaderType = typeof(AnyReturnReader); return importedReturn; } } } // 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.IO; internal class MimeAnyImporter : MimeImporter { internal override MimeParameterCollection ImportParameters() { return null; } internal override MimeReturn ImportReturn() { if (ImportContext.OperationBinding.Output.Extensions.Count == 0) return null; MimeReturn importedReturn = new MimeReturn(); importedReturn.TypeName = typeof(Stream).FullName; importedReturn.ReaderType = typeof(AnyReturnReader); return importedReturn; } } } // 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
- XamlReader.cs
- SqlDataSourceEnumerator.cs
- ValidateNames.cs
- RawStylusActions.cs
- DocumentReferenceCollection.cs
- ConfigXmlComment.cs
- CodeParameterDeclarationExpression.cs
- UpDownEvent.cs
- PropertyBuilder.cs
- DelegatingMessage.cs
- Tablet.cs
- DeleteWorkflowOwnerCommand.cs
- LassoSelectionBehavior.cs
- CodeGenerator.cs
- UxThemeWrapper.cs
- Registry.cs
- SqlConnection.cs
- DbConnectionClosed.cs
- Vector3DCollection.cs
- ClientScriptManagerWrapper.cs
- DoubleCollectionConverter.cs
- ContentControl.cs
- PipelineModuleStepContainer.cs
- ColumnBinding.cs
- CustomTypeDescriptor.cs
- DataGridTemplateColumn.cs
- newinstructionaction.cs
- ToolStripGripRenderEventArgs.cs
- AnchorEditor.cs
- RuntimeHelpers.cs
- AssertFilter.cs
- SortExpressionBuilder.cs
- RectAnimationUsingKeyFrames.cs
- UidManager.cs
- WorkflowStateRollbackService.cs
- BinaryFormatterWriter.cs
- XmlSchemaObjectTable.cs
- ClusterSafeNativeMethods.cs
- PersonalizationProviderCollection.cs
- DataGridView.cs
- ValueType.cs
- AttachedPropertyBrowsableAttribute.cs
- Pair.cs
- CustomValidator.cs
- DataGridHeaderBorder.cs
- ExpressionBuilder.cs
- TextServicesProperty.cs
- ProxyManager.cs
- Journal.cs
- Compiler.cs
- ImageCodecInfoPrivate.cs
- Content.cs
- ClientCredentials.cs
- HostingEnvironmentException.cs
- DetailsViewRowCollection.cs
- ToggleProviderWrapper.cs
- DynamicValueConverter.cs
- MarkupCompilePass2.cs
- ColumnMap.cs
- DataGridViewLinkCell.cs
- CopyNamespacesAction.cs
- StubHelpers.cs
- PolicyException.cs
- UInt16.cs
- CompositeDataBoundControl.cs
- EventHandlerList.cs
- Timer.cs
- XmlToDatasetMap.cs
- TextPenaltyModule.cs
- PathData.cs
- PointConverter.cs
- ThicknessAnimation.cs
- SafeHandle.cs
- MaskedTextBoxTextEditorDropDown.cs
- ClientSideQueueItem.cs
- BrowserCapabilitiesFactoryBase.cs
- MaskInputRejectedEventArgs.cs
- MetadataException.cs
- RuleSettings.cs
- CustomValidator.cs
- RecordConverter.cs
- HuffmanTree.cs
- Memoizer.cs
- Schedule.cs
- EditingCoordinator.cs
- ApplicationDirectoryMembershipCondition.cs
- HttpException.cs
- ThreadSafeMessageFilterTable.cs
- StylusPoint.cs
- PropertyTabAttribute.cs
- FixedPageProcessor.cs
- QuaternionRotation3D.cs
- CfgRule.cs
- ScriptResourceAttribute.cs
- IgnorePropertiesAttribute.cs
- CatalogPart.cs
- SafeRightsManagementQueryHandle.cs
- StateMachineAction.cs
- HwndKeyboardInputProvider.cs
- OutKeywords.cs