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
- HtmlMeta.cs
- VariableReference.cs
- TextDecorationCollectionConverter.cs
- Matrix3DValueSerializer.cs
- TokenBasedSet.cs
- OracleConnection.cs
- ControlLocalizer.cs
- QueueProcessor.cs
- SmiMetaData.cs
- CompareInfo.cs
- StylusOverProperty.cs
- SpinWait.cs
- DataColumnChangeEvent.cs
- DbDataSourceEnumerator.cs
- MouseEventArgs.cs
- Misc.cs
- OracleNumber.cs
- DataRow.cs
- CodeChecksumPragma.cs
- XamlTemplateSerializer.cs
- Rights.cs
- DbConnectionInternal.cs
- ValidationEventArgs.cs
- SkewTransform.cs
- NameNode.cs
- AssemblyNameEqualityComparer.cs
- X509Utils.cs
- ButtonBase.cs
- BooleanToVisibilityConverter.cs
- ThrowHelper.cs
- IPGlobalProperties.cs
- ApplicationInfo.cs
- DesignerTextWriter.cs
- HostedTransportConfigurationBase.cs
- TransformerInfo.cs
- DashStyle.cs
- HttpListenerPrefixCollection.cs
- RangeBaseAutomationPeer.cs
- UnsafeNetInfoNativeMethods.cs
- SqlDependencyUtils.cs
- VisualBasicReference.cs
- DataGridColumnEventArgs.cs
- VisualTreeHelper.cs
- SoapUnknownHeader.cs
- RenderDataDrawingContext.cs
- UIServiceHelper.cs
- DependencyPropertyAttribute.cs
- PackageFilter.cs
- Size.cs
- XPathBuilder.cs
- StyleCollection.cs
- TextOnlyOutput.cs
- __Filters.cs
- FacetValueContainer.cs
- ObjectQuery.cs
- AtomEntry.cs
- RuleValidation.cs
- Transform3D.cs
- SqlLiftWhereClauses.cs
- DocumentReference.cs
- TransactionFlowBindingElement.cs
- AsymmetricKeyExchangeDeformatter.cs
- XmlnsPrefixAttribute.cs
- AndCondition.cs
- UpdateCommand.cs
- BezierSegment.cs
- DbMetaDataCollectionNames.cs
- HatchBrush.cs
- ButtonPopupAdapter.cs
- RequestResponse.cs
- Point3DValueSerializer.cs
- LogLogRecordEnumerator.cs
- PenThread.cs
- IISUnsafeMethods.cs
- DrawingState.cs
- FunctionImportMapping.cs
- InputLanguageProfileNotifySink.cs
- CodeDirectoryCompiler.cs
- Rights.cs
- PersistChildrenAttribute.cs
- PageStatePersister.cs
- HwndMouseInputProvider.cs
- ThreadExceptionEvent.cs
- AngleUtil.cs
- TextDpi.cs
- DoubleAnimationBase.cs
- HtmlElementEventArgs.cs
- HttpChannelHelpers.cs
- SSmlParser.cs
- controlskin.cs
- LinkArea.cs
- LinearGradientBrush.cs
- AutoSizeComboBox.cs
- TargetConverter.cs
- Encoding.cs
- CachedPathData.cs
- DrawingServices.cs
- XmlSchemaGroup.cs
- UnmanagedMemoryStream.cs
- WebPartEventArgs.cs