536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
38 lines
1.6 KiB
C#
38 lines
1.6 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="SerializationSectionGroup.cs" company="Microsoft Corporation">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
//------------------------------------------------------------------------------
|
|
#if CONFIGURATION_DEP
|
|
namespace System.Xml.Serialization.Configuration
|
|
{
|
|
using System.Configuration;
|
|
|
|
/// <summary>
|
|
/// Summary description for SerializationSectionGroup.
|
|
/// </summary>
|
|
public sealed class SerializationSectionGroup : ConfigurationSectionGroup
|
|
{
|
|
public SerializationSectionGroup() {}
|
|
|
|
// public properties
|
|
[ConfigurationProperty(ConfigurationStrings.SchemaImporterExtensionsSectionName)]
|
|
public SchemaImporterExtensionsSection SchemaImporterExtensions
|
|
{
|
|
get { return (SchemaImporterExtensionsSection)Sections[ConfigurationStrings.SchemaImporterExtensionsSectionName]; }
|
|
}
|
|
|
|
[ConfigurationProperty(ConfigurationStrings.DateTimeSerializationSectionName)]
|
|
public DateTimeSerializationSection DateTimeSerialization
|
|
{
|
|
get { return (DateTimeSerializationSection)Sections[ConfigurationStrings.DateTimeSerializationSectionName]; }
|
|
}
|
|
|
|
public XmlSerializerSection XmlSerializer
|
|
{
|
|
get { return (XmlSerializerSection)Sections[ConfigurationStrings.XmlSerializerSectionName]; }
|
|
}
|
|
}
|
|
}
|
|
#endif |