Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MessageBodyDescription.cs / 1 / MessageBodyDescription.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.ServiceModel.Channels; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; namespace System.ServiceModel.Description { public class MessageBodyDescription { private XmlName wrapperName; private string wrapperNs; private MessagePartDescriptionCollection parts; private MessagePartDescription returnValue; public MessageBodyDescription() { parts = new MessagePartDescriptionCollection(); } internal MessageBodyDescription(MessageBodyDescription other) { this.WrapperName = other.WrapperName; this.WrapperNamespace = other.WrapperNamespace; this.parts = new MessagePartDescriptionCollection(); foreach (MessagePartDescription mpd in other.Parts) { this.Parts.Add(mpd.Clone()); } if (other.ReturnValue != null) { this.ReturnValue = other.ReturnValue.Clone(); } } internal MessageBodyDescription Clone() { return new MessageBodyDescription(this); } public MessagePartDescriptionCollection Parts { get { return parts; } } public MessagePartDescription ReturnValue { get { return returnValue; } set { returnValue = value; } } public string WrapperName { get { return wrapperName == null ? null : wrapperName.EncodedName; } set { wrapperName = new XmlName(value, true /*isEncoded*/); } } public string WrapperNamespace { get { return wrapperNs; } set { wrapperNs = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EncodingTable.cs
- InvokeWebServiceDesigner.cs
- InvalidateEvent.cs
- VScrollProperties.cs
- ImageCollectionEditor.cs
- SettingsPropertyCollection.cs
- BinaryWriter.cs
- DeclarativeConditionsCollection.cs
- PropertyReferenceSerializer.cs
- ToolStripContextMenu.cs
- SystemEvents.cs
- ProxyFragment.cs
- UrlPath.cs
- Decimal.cs
- TextChange.cs
- UIElementParaClient.cs
- PerformanceCountersElement.cs
- ConstNode.cs
- SQLInt32.cs
- TileBrush.cs
- SpnegoTokenProvider.cs
- WindowsGrip.cs
- Transform3DGroup.cs
- Root.cs
- ColumnWidthChangingEvent.cs
- TreeNodeEventArgs.cs
- DriveNotFoundException.cs
- JoinTreeSlot.cs
- TextEvent.cs
- PropertyOverridesDialog.cs
- EntityModelSchemaGenerator.cs
- TrackingServices.cs
- StreamInfo.cs
- BindingExpressionBase.cs
- CheckedPointers.cs
- WindowsFont.cs
- SchemaImporter.cs
- WizardDesigner.cs
- TreeNodeBinding.cs
- CompilerTypeWithParams.cs
- ValidationEventArgs.cs
- InternalMappingException.cs
- ButtonAutomationPeer.cs
- DictionaryEntry.cs
- EmptyStringExpandableObjectConverter.cs
- WebServiceResponse.cs
- NetworkInformationPermission.cs
- __FastResourceComparer.cs
- EntityParameter.cs
- RelationshipEnd.cs
- FrameworkReadOnlyPropertyMetadata.cs
- UserInitiatedNavigationPermission.cs
- WebPartZoneCollection.cs
- ObjectNavigationPropertyMapping.cs
- XNameTypeConverter.cs
- Brushes.cs
- File.cs
- SiteMap.cs
- handlecollector.cs
- DocumentViewerAutomationPeer.cs
- XmlDataSource.cs
- StringWriter.cs
- ToolStripRenderEventArgs.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- AmbientLight.cs
- FixUp.cs
- TextReturnReader.cs
- RijndaelManagedTransform.cs
- MailAddressCollection.cs
- ZoneIdentityPermission.cs
- UpdateCommand.cs
- cryptoapiTransform.cs
- SQLInt64.cs
- RenderContext.cs
- EntityDataSourceView.cs
- UTF7Encoding.cs
- TailCallAnalyzer.cs
- MinimizableAttributeTypeConverter.cs
- DateTimeFormatInfoScanner.cs
- InkPresenter.cs
- ZoneButton.cs
- WebZone.cs
- BooleanFunctions.cs
- Listen.cs
- DefaultParameterValueAttribute.cs
- AlphaSortedEnumConverter.cs
- SqlCrossApplyToCrossJoin.cs
- XslAst.cs
- ComponentEditorForm.cs
- FlowchartSizeFeature.cs
- TreeNodeCollectionEditorDialog.cs
- HttpRequest.cs
- ImportedNamespaceContextItem.cs
- TimeStampChecker.cs
- ListControl.cs
- ProxyWebPart.cs
- PointAnimation.cs
- SHA512Managed.cs
- HMACMD5.cs
- ObjectListComponentEditor.cs