Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlSerializerVersionAttribute.cs / 1305376 / XmlSerializerVersionAttribute.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System;
///
///
/// [To be supplied.]
///
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class XmlSerializerVersionAttribute : System.Attribute {
string mvid;
string serializerVersion;
string ns;
Type type;
///
///
/// [To be supplied.]
///
public XmlSerializerVersionAttribute() {
}
///
///
/// [To be supplied.]
///
public XmlSerializerVersionAttribute(Type type) {
this.type = type;
}
///
///
/// [To be supplied.]
///
public string ParentAssemblyId {
get { return mvid; }
set { mvid = value; }
}
///
///
/// [To be supplied.]
///
public string Version {
get { return serializerVersion; }
set { serializerVersion = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
///
///
/// [To be supplied.]
///
public Type Type {
get { return type; }
set { type = 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.Assembly)]
public sealed class XmlSerializerVersionAttribute : System.Attribute {
string mvid;
string serializerVersion;
string ns;
Type type;
///
///
/// [To be supplied.]
///
public XmlSerializerVersionAttribute() {
}
///
///
/// [To be supplied.]
///
public XmlSerializerVersionAttribute(Type type) {
this.type = type;
}
///
///
/// [To be supplied.]
///
public string ParentAssemblyId {
get { return mvid; }
set { mvid = value; }
}
///
///
/// [To be supplied.]
///
public string Version {
get { return serializerVersion; }
set { serializerVersion = value; }
}
///
///
/// [To be supplied.]
///
public string Namespace {
get { return ns; }
set { ns = value; }
}
///
///
/// [To be supplied.]
///
public Type Type {
get { return type; }
set { type = 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
- UnSafeCharBuffer.cs
- NetTcpSecurityElement.cs
- KeyedHashAlgorithm.cs
- LogicalCallContext.cs
- ReadOnlyNameValueCollection.cs
- Aggregates.cs
- MetadataItemCollectionFactory.cs
- XamlTypeMapperSchemaContext.cs
- ObjectListCommandsPage.cs
- LambdaExpression.cs
- XmlDomTextWriter.cs
- TreeNodeCollectionEditor.cs
- Int32AnimationUsingKeyFrames.cs
- TreeNodeCollectionEditorDialog.cs
- SafeLibraryHandle.cs
- AuthenticationException.cs
- WindowsFormsSectionHandler.cs
- SQLChars.cs
- FindCriteria.cs
- NTAccount.cs
- CellTreeSimplifier.cs
- MultiAsyncResult.cs
- Substitution.cs
- SourceFilter.cs
- ScaleTransform3D.cs
- EngineSiteSapi.cs
- CodeObject.cs
- TransactionException.cs
- CommonXSendMessage.cs
- UnsafeNativeMethods.cs
- WebBrowserDocumentCompletedEventHandler.cs
- RawAppCommandInputReport.cs
- TypedMessageConverter.cs
- DataSvcMapFile.cs
- ExcludePathInfo.cs
- XmlQueryType.cs
- Funcletizer.cs
- IdentityHolder.cs
- ConnectionPointCookie.cs
- IsolatedStorageFile.cs
- BuiltInPermissionSets.cs
- PrintPreviewDialog.cs
- Wow64ConfigurationLoader.cs
- ProviderSettingsCollection.cs
- GridViewCommandEventArgs.cs
- XmlName.cs
- MgmtConfigurationRecord.cs
- XmlSchemaRedefine.cs
- DbConnectionClosed.cs
- XslTransform.cs
- DataServiceKeyAttribute.cs
- EncodingNLS.cs
- UserControlCodeDomTreeGenerator.cs
- File.cs
- ReadWriteObjectLock.cs
- ByteStreamGeometryContext.cs
- DynamicResourceExtensionConverter.cs
- ErrorEventArgs.cs
- InvalidFilterCriteriaException.cs
- UriParserTemplates.cs
- BinaryReader.cs
- WriteLine.cs
- NameValuePermission.cs
- InstanceLockQueryResult.cs
- ResourceAssociationType.cs
- XmlSchemaSubstitutionGroup.cs
- ApplicationDirectory.cs
- SymmetricAlgorithm.cs
- FixedDocumentPaginator.cs
- OdbcConnectionHandle.cs
- BaseConfigurationRecord.cs
- cookiecontainer.cs
- Helpers.cs
- PersonalizationDictionary.cs
- MetadataArtifactLoaderCompositeResource.cs
- AdornerLayer.cs
- NeutralResourcesLanguageAttribute.cs
- AssemblyBuilder.cs
- PersianCalendar.cs
- TabletDevice.cs
- x509store.cs
- SettingsProviderCollection.cs
- SendDesigner.xaml.cs
- ParameterDataSourceExpression.cs
- DataGridViewCellParsingEventArgs.cs
- XmlPropertyBag.cs
- OptimalTextSource.cs
- SmiGettersStream.cs
- DynamicValidatorEventArgs.cs
- DiscoveryClientOutputChannel.cs
- SqlException.cs
- arabicshape.cs
- MetadataSerializer.cs
- OrderByBuilder.cs
- ArraySubsetEnumerator.cs
- ISCIIEncoding.cs
- ParsedAttributeCollection.cs
- DataGridPagerStyle.cs
- WebExceptionStatus.cs
- InsufficientMemoryException.cs