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
- DataObjectSettingDataEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- EdmFunctionAttribute.cs
- ButtonChrome.cs
- StyleSheet.cs
- AuthStoreRoleProvider.cs
- ThrowHelper.cs
- FormViewInsertEventArgs.cs
- PrimitiveDataContract.cs
- BezierSegment.cs
- WebEventTraceProvider.cs
- regiisutil.cs
- XmlSchemaSimpleTypeUnion.cs
- Path.cs
- UxThemeWrapper.cs
- COM2Enum.cs
- HMACSHA384.cs
- ManagementPath.cs
- BitmapEffectGeneralTransform.cs
- WebPartUtil.cs
- ControlPropertyNameConverter.cs
- TextLine.cs
- WebPartAuthorizationEventArgs.cs
- EntityViewGenerationAttribute.cs
- XMLSyntaxException.cs
- BindStream.cs
- AsyncOperationLifetimeManager.cs
- SimpleTextLine.cs
- GradientBrush.cs
- EventSourceCreationData.cs
- OutputCacheSettingsSection.cs
- MeshGeometry3D.cs
- ImageListStreamer.cs
- SevenBitStream.cs
- SmtpMail.cs
- TrackingDataItemValue.cs
- PackageRelationshipSelector.cs
- _Events.cs
- ReadOnlyObservableCollection.cs
- IdentitySection.cs
- DataSourceView.cs
- CursorConverter.cs
- ProjectionPathBuilder.cs
- SubtreeProcessor.cs
- prompt.cs
- MessageHeaderDescription.cs
- WrapperEqualityComparer.cs
- AsyncPostBackErrorEventArgs.cs
- DataSvcMapFile.cs
- SqlReferenceCollection.cs
- XmlWriterSettings.cs
- SmiSettersStream.cs
- OpacityConverter.cs
- ReflectionHelper.cs
- ModelItemExtensions.cs
- ADMembershipUser.cs
- ResolveCompletedEventArgs.cs
- BamlTreeMap.cs
- OutputCacheSettingsSection.cs
- WmlTextViewAdapter.cs
- LineUtil.cs
- ValueExpressions.cs
- TreePrinter.cs
- COM2ColorConverter.cs
- PingOptions.cs
- RelationshipManager.cs
- GridToolTip.cs
- HtmlShim.cs
- QueryRewriter.cs
- ConfigurationElement.cs
- CodeNamespaceImport.cs
- SqlCommandSet.cs
- TypeDelegator.cs
- QueryOptionExpression.cs
- StrongNameKeyPair.cs
- RuntimeWrappedException.cs
- InstalledVoice.cs
- SqlUserDefinedTypeAttribute.cs
- CryptoApi.cs
- DataChangedEventManager.cs
- DataServicePagingProviderWrapper.cs
- GACMembershipCondition.cs
- XmlObjectSerializerWriteContext.cs
- CannotUnloadAppDomainException.cs
- SqlDataSourceCache.cs
- PixelShader.cs
- EventHandlersDesigner.cs
- ListViewDeleteEventArgs.cs
- EdgeProfileValidation.cs
- dsa.cs
- WSHttpTransportSecurityElement.cs
- DisableDpiAwarenessAttribute.cs
- PolygonHotSpot.cs
- RegexFCD.cs
- NavigationProgressEventArgs.cs
- CodeBlockBuilder.cs
- RegistryConfigurationProvider.cs
- ReaderWriterLock.cs
- ListCollectionView.cs
- PageTheme.cs