Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlSerializerAssemblyAttribute.cs / 1 / XmlSerializerAssemblyAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple=false)]
public sealed class XmlSerializerAssemblyAttribute : System.Attribute {
string assemblyName;
string codeBase;
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute() : this(null, null) {}
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute(string assemblyName) : this(assemblyName, null) {}
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute(string assemblyName, string codeBase) {
this.assemblyName = assemblyName;
this.codeBase = codeBase;
}
///
///
/// [To be supplied.]
///
public string CodeBase {
get { return codeBase; }
set { codeBase = value; }
}
///
///
/// [To be supplied.]
///
public string AssemblyName {
get { return assemblyName; }
set { assemblyName = 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.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple=false)]
public sealed class XmlSerializerAssemblyAttribute : System.Attribute {
string assemblyName;
string codeBase;
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute() : this(null, null) {}
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute(string assemblyName) : this(assemblyName, null) {}
///
///
/// [To be supplied.]
///
public XmlSerializerAssemblyAttribute(string assemblyName, string codeBase) {
this.assemblyName = assemblyName;
this.codeBase = codeBase;
}
///
///
/// [To be supplied.]
///
public string CodeBase {
get { return codeBase; }
set { codeBase = value; }
}
///
///
/// [To be supplied.]
///
public string AssemblyName {
get { return assemblyName; }
set { assemblyName = 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
- Splitter.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ResourcesBuildProvider.cs
- UnsafeNativeMethods.cs
- XmlEntityReference.cs
- OleDbFactory.cs
- ValidationService.cs
- InputLanguageCollection.cs
- AmbientProperties.cs
- VirtualizingPanel.cs
- DataGrid.cs
- IMembershipProvider.cs
- FormParameter.cs
- SpotLight.cs
- PackageStore.cs
- InputMethodStateChangeEventArgs.cs
- ElementHostAutomationPeer.cs
- TransactionException.cs
- BinaryObjectReader.cs
- ExtendedPropertyCollection.cs
- XmlSchemaObject.cs
- ListChangedEventArgs.cs
- RelationshipConverter.cs
- ErrorReporting.cs
- RenderOptions.cs
- COM2AboutBoxPropertyDescriptor.cs
- CompiledQuery.cs
- ThicknessAnimation.cs
- XpsDocument.cs
- Tokenizer.cs
- StorageEndPropertyMapping.cs
- StrokeCollection.cs
- TextOutput.cs
- RightsManagementPermission.cs
- BamlBinaryReader.cs
- DragEventArgs.cs
- MethodBuilder.cs
- ButtonField.cs
- SerialPinChanges.cs
- SchemaNotation.cs
- SelectionList.cs
- ScaleTransform3D.cs
- GB18030Encoding.cs
- MULTI_QI.cs
- RangeValueProviderWrapper.cs
- NoneExcludedImageIndexConverter.cs
- SourceFileBuildProvider.cs
- ExpandedWrapper.cs
- OletxCommittableTransaction.cs
- XPathNodeHelper.cs
- RtfControlWordInfo.cs
- BitmapDownload.cs
- DocComment.cs
- MbpInfo.cs
- TableLayoutStyleCollection.cs
- XmlCustomFormatter.cs
- GC.cs
- MetadataFile.cs
- EventMap.cs
- IndentedTextWriter.cs
- Vector.cs
- MaterialCollection.cs
- DataServiceBehavior.cs
- GeneralTransformGroup.cs
- XmlIlVisitor.cs
- XamlStream.cs
- GetTokenRequest.cs
- ToolStripGripRenderEventArgs.cs
- PackageDigitalSignatureManager.cs
- Profiler.cs
- ManifestSignatureInformation.cs
- Html32TextWriter.cs
- CommandField.cs
- IdnElement.cs
- FolderBrowserDialogDesigner.cs
- FormsAuthenticationUserCollection.cs
- SelfIssuedAuthRSACryptoProvider.cs
- BitmapEffectInput.cs
- IInstanceTable.cs
- ObfuscateAssemblyAttribute.cs
- WCFServiceClientProxyGenerator.cs
- ViewStateChangedEventArgs.cs
- LinkClickEvent.cs
- MemoryFailPoint.cs
- VectorCollectionValueSerializer.cs
- ListItemConverter.cs
- WindowsIdentity.cs
- ContractBase.cs
- OleDbReferenceCollection.cs
- TraversalRequest.cs
- WebPartConnectionsCancelVerb.cs
- listitem.cs
- ListItem.cs
- QueryOperator.cs
- ErrorFormatter.cs
- TagPrefixInfo.cs
- ThumbButtonInfo.cs
- AffineTransform3D.cs
- EntitySetRetriever.cs
- BufferModeSettings.cs