Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / Serialization / System / Runtime / Serialization / ContractNamespaceAttribute.cs / 1 / ContractNamespaceAttribute.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.Runtime.Serialization
{
using System;
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module, Inherited = false, AllowMultiple = true)]
public sealed class ContractNamespaceAttribute : Attribute
{
string clrNamespace;
string contractNamespace;
public ContractNamespaceAttribute(string contractNamespace)
{
this.contractNamespace = contractNamespace;
}
public string ClrNamespace
{
get { return clrNamespace; }
set { clrNamespace = value; }
}
public string ContractNamespace
{
get { return contractNamespace; }
}
}
}
// 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
- CatalogPartChrome.cs
- WebPartEventArgs.cs
- Vector3D.cs
- XamlSerializerUtil.cs
- SerTrace.cs
- SslStream.cs
- EventlogProvider.cs
- CanExecuteRoutedEventArgs.cs
- BuilderPropertyEntry.cs
- FrameworkEventSource.cs
- RectangleF.cs
- XsdValidatingReader.cs
- ImageSourceValueSerializer.cs
- SplitterDesigner.cs
- _AutoWebProxyScriptHelper.cs
- BitmapEffectGeneralTransform.cs
- ALinqExpressionVisitor.cs
- OleDbRowUpdatedEvent.cs
- IsolatedStorageFileStream.cs
- SerialPort.cs
- RelationshipNavigation.cs
- XmlComplianceUtil.cs
- RecognitionEventArgs.cs
- ModelPerspective.cs
- InputBuffer.cs
- ConfigXmlText.cs
- XPathScanner.cs
- CollectionEditorDialog.cs
- ISAPIRuntime.cs
- GridSplitter.cs
- FixedPageStructure.cs
- FileStream.cs
- ExpressionUtilities.cs
- CompositeActivityTypeDescriptorProvider.cs
- ClientConfigurationHost.cs
- MenuAutomationPeer.cs
- _HelperAsyncResults.cs
- CodeTypeReferenceExpression.cs
- StreamWithDictionary.cs
- SmuggledIUnknown.cs
- PeerObject.cs
- DiscoveryDocumentLinksPattern.cs
- DependencyObjectPropertyDescriptor.cs
- DefaultValueConverter.cs
- BamlRecordReader.cs
- TimeStampChecker.cs
- RenderOptions.cs
- RegexStringValidator.cs
- HostProtectionException.cs
- WindowsBrush.cs
- HtmlInputHidden.cs
- TextRangeEditTables.cs
- IdentityNotMappedException.cs
- FormsAuthenticationEventArgs.cs
- WebPartVerb.cs
- Pair.cs
- OleDbMetaDataFactory.cs
- OleServicesContext.cs
- ObjectDisposedException.cs
- PrintDocument.cs
- Timer.cs
- CounterSetInstance.cs
- SqlParameterizer.cs
- SoapConverter.cs
- IPipelineRuntime.cs
- InheritanceContextChangedEventManager.cs
- NativeMethods.cs
- CheckBoxPopupAdapter.cs
- PropertyMetadata.cs
- SeekStoryboard.cs
- WebExceptionStatus.cs
- CategoryNameCollection.cs
- SqlLiftIndependentRowExpressions.cs
- namescope.cs
- DataDesignUtil.cs
- PermissionSetEnumerator.cs
- GridViewCommandEventArgs.cs
- DiscoveryCallbackBehavior.cs
- RemoteWebConfigurationHost.cs
- ClientFormsIdentity.cs
- SqlReorderer.cs
- FixedBufferAttribute.cs
- CqlQuery.cs
- NavigationCommands.cs
- OdbcUtils.cs
- WebPartAuthorizationEventArgs.cs
- RegexCompilationInfo.cs
- DockProviderWrapper.cs
- CompilerGeneratedAttribute.cs
- MutexSecurity.cs
- MediaEntryAttribute.cs
- CellTreeNodeVisitors.cs
- AttributeAction.cs
- CodeMethodInvokeExpression.cs
- ServiceDiscoveryElement.cs
- XmlSerializationWriter.cs
- SafeNativeMethods.cs
- EntryIndex.cs
- ProvideValueServiceProvider.cs
- IndexerNameAttribute.cs