Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / Compilation / WCFModel / ContractMapping.cs / 1305376 / ContractMapping.cs
//------------------------------------------------------------------------------ //// Copyright (C) Microsoft Corporation. All Rights Reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using XmlSerialization = System.Xml.Serialization; #if WEB_EXTENSIONS_CODE namespace System.Web.Compilation.WCFModel #else namespace Microsoft.VSDesigner.WCFModel #endif { ////// a contract type sharing record /// ///#if WEB_EXTENSIONS_CODE internal class ContractMapping #else [CLSCompliant(true)] public class ContractMapping #endif { private string m_Name; private string m_TargetNamespace; private string m_TypeName; /// /// type name in metadata /// ////// [XmlSerialization.XmlAttribute()] public string Name { get { return m_Name; } set { m_Name = value; } } /// /// targetNamespace in metadata /// ////// [XmlSerialization.XmlAttribute()] public string TargetNamespace { get { return m_TargetNamespace; } set { m_TargetNamespace = value; } } /// /// assembly qualified type name, or '-' which blocks type sharing /// ////// [XmlSerialization.XmlAttribute()] public string TypeName { get { return m_TypeName; } set { m_TypeName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // // Copyright (C) Microsoft Corporation. All Rights Reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; using XmlSerialization = System.Xml.Serialization; #if WEB_EXTENSIONS_CODE namespace System.Web.Compilation.WCFModel #else namespace Microsoft.VSDesigner.WCFModel #endif { ////// a contract type sharing record /// ///#if WEB_EXTENSIONS_CODE internal class ContractMapping #else [CLSCompliant(true)] public class ContractMapping #endif { private string m_Name; private string m_TargetNamespace; private string m_TypeName; /// /// type name in metadata /// ////// [XmlSerialization.XmlAttribute()] public string Name { get { return m_Name; } set { m_Name = value; } } /// /// targetNamespace in metadata /// ////// [XmlSerialization.XmlAttribute()] public string TargetNamespace { get { return m_TargetNamespace; } set { m_TargetNamespace = value; } } /// /// assembly qualified type name, or '-' which blocks type sharing /// ////// [XmlSerialization.XmlAttribute()] public string TypeName { get { return m_TypeName; } set { m_TypeName = 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
- DataFormats.cs
- figurelengthconverter.cs
- Config.cs
- BindableTemplateBuilder.cs
- TextDecorationCollectionConverter.cs
- Converter.cs
- WebPartZoneCollection.cs
- TimerEventSubscription.cs
- TextSpan.cs
- isolationinterop.cs
- DataGridViewRowsRemovedEventArgs.cs
- XmlSchemaInfo.cs
- Encoder.cs
- BinaryFormatter.cs
- SrgsSemanticInterpretationTag.cs
- AuthorizationRule.cs
- LinkConverter.cs
- WebPartDisplayModeCancelEventArgs.cs
- TimeSpanValidatorAttribute.cs
- UncommonField.cs
- ChildTable.cs
- IdentityReference.cs
- MouseEvent.cs
- codemethodreferenceexpression.cs
- mactripleDES.cs
- OpCodes.cs
- IndexedGlyphRun.cs
- RelationshipEnd.cs
- Span.cs
- TextDocumentView.cs
- SamlNameIdentifierClaimResource.cs
- DesignerOptionService.cs
- Simplifier.cs
- XmlReflectionMember.cs
- PerformanceCounterCategory.cs
- LicFileLicenseProvider.cs
- XmlBinaryReader.cs
- IApplicationTrustManager.cs
- Stylesheet.cs
- MultipleViewProviderWrapper.cs
- BoolExpr.cs
- DataConnectionHelper.cs
- PeerHopCountAttribute.cs
- OdbcEnvironment.cs
- XmlElementCollection.cs
- InkPresenter.cs
- ExternalFile.cs
- DataPagerField.cs
- ThousandthOfEmRealPoints.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TextBox.cs
- SqlCommand.cs
- VirtualPathProvider.cs
- SemanticAnalyzer.cs
- XmlSchemaInclude.cs
- SHA512.cs
- DataGridCell.cs
- TextModifierScope.cs
- Transactions.cs
- HtmlInputControl.cs
- RuntimeHelpers.cs
- ColumnWidthChangingEvent.cs
- UndoManager.cs
- StreamingContext.cs
- PersonalizationProvider.cs
- ResourcePool.cs
- PointAnimationClockResource.cs
- ValidatorCollection.cs
- ListViewItem.cs
- XsdBuilder.cs
- HostProtectionException.cs
- ViewKeyConstraint.cs
- WebPartPersonalization.cs
- IntPtr.cs
- ScaleTransform.cs
- CacheMode.cs
- DeploymentSection.cs
- EventLogEntry.cs
- GroupBox.cs
- DBAsyncResult.cs
- StateDesigner.CommentLayoutGlyph.cs
- RandomDelaySendsAsyncResult.cs
- SchemaCollectionCompiler.cs
- ProfileModule.cs
- StringReader.cs
- Base64Stream.cs
- AggregateNode.cs
- Psha1DerivedKeyGenerator.cs
- SqlCachedBuffer.cs
- ObjectKeyFrameCollection.cs
- RequestResizeEvent.cs
- SafeSystemMetrics.cs
- ObjectIDGenerator.cs
- InlineObject.cs
- TextTreeTextBlock.cs
- StorageSetMapping.cs
- QuaternionAnimation.cs
- BaseDataListDesigner.cs
- NamedPermissionSet.cs
- Win32KeyboardDevice.cs