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
- MutexSecurity.cs
- AttributeConverter.cs
- DispatcherProcessingDisabled.cs
- CodeCommentStatement.cs
- VisualStyleTypesAndProperties.cs
- DataGridLinkButton.cs
- ButtonBase.cs
- TextBoxView.cs
- LineSegment.cs
- CodeSpit.cs
- CodeGroup.cs
- EdmComplexTypeAttribute.cs
- CriticalExceptions.cs
- NullExtension.cs
- IdentifierCreationService.cs
- DelegatingConfigHost.cs
- ReferenceEqualityComparer.cs
- ChannelManager.cs
- Pair.cs
- MessageHeaderDescriptionCollection.cs
- LogLogRecordEnumerator.cs
- MultiBindingExpression.cs
- ExceptionCollection.cs
- ErrorFormatter.cs
- PackageStore.cs
- ProgressBar.cs
- UTF7Encoding.cs
- AutomationAttributeInfo.cs
- WSFederationHttpBinding.cs
- URLAttribute.cs
- Atom10FormatterFactory.cs
- WebPartEditorApplyVerb.cs
- HtmlTableCellCollection.cs
- Freezable.cs
- IProvider.cs
- ConsoleKeyInfo.cs
- CheckBoxFlatAdapter.cs
- ShapingEngine.cs
- assemblycache.cs
- TaiwanLunisolarCalendar.cs
- ObjectDataSourceMethodEventArgs.cs
- ServiceObjectContainer.cs
- EndOfStreamException.cs
- AudioFormatConverter.cs
- TransformCryptoHandle.cs
- RadialGradientBrush.cs
- XsdDataContractExporter.cs
- RubberbandSelector.cs
- RootDesignerSerializerAttribute.cs
- AuthorizationRule.cs
- ParenthesizePropertyNameAttribute.cs
- ConfigXmlElement.cs
- AutomationElementCollection.cs
- MergeExecutor.cs
- _FixedSizeReader.cs
- WebEncodingValidator.cs
- BitSet.cs
- FileDialogPermission.cs
- WebPartZoneDesigner.cs
- EncoderBestFitFallback.cs
- Int16.cs
- ProjectionCamera.cs
- TemplateParser.cs
- DataGridViewTextBoxColumn.cs
- TextBlockAutomationPeer.cs
- MissingMethodException.cs
- SignerInfo.cs
- AdjustableArrowCap.cs
- Timer.cs
- CollectionViewSource.cs
- CompilerTypeWithParams.cs
- MetadataHelper.cs
- EntitySetDataBindingList.cs
- InputScopeNameConverter.cs
- BamlResourceSerializer.cs
- DecimalConstantAttribute.cs
- ExtensionQuery.cs
- DataBoundControlAdapter.cs
- CopyCodeAction.cs
- HttpClientProtocol.cs
- OverflowException.cs
- BitmapEffectDrawingContextState.cs
- XmlSerializerNamespaces.cs
- SafeNativeMethods.cs
- HtmlInputSubmit.cs
- InternalRelationshipCollection.cs
- SectionVisual.cs
- RedistVersionInfo.cs
- TracePayload.cs
- CompiledIdentityConstraint.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- ContractSearchPattern.cs
- WorkflowRuntime.cs
- QueryOperatorEnumerator.cs
- UpDownBase.cs
- SizeIndependentAnimationStorage.cs
- ProcessModelInfo.cs
- IDReferencePropertyAttribute.cs
- DataColumnChangeEvent.cs
- GPPOINTF.cs