The Labs \ Source Viewer \ SSCLI \ System.Xml.Serialization.Configuration \ ConfigurationStrings

  1. //------------------------------------------------------------------------------
  2. // <copyright file="ConfigurationStrings.cs" company="Microsoft Corporation">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. // <owner current="true" primary="true">ElenaK</owner>
  15. //------------------------------------------------------------------------------
  16. namespace System.Xml.Serialization.Configuration
  17. {
  18.     using System;
  19.     using System.Configuration;
  20.     using System.Globalization;
  21.    
  22.     static internal class ConfigurationStrings
  23.     {
  24.         static string GetSectionPath(string sectionName)
  25.         {
  26.             return string.Format(CultureInfo.InvariantCulture, "{0}/{1}", ConfigurationStrings.SectionGroupName, sectionName);
  27.         }
  28.        
  29.         static internal string SchemaImporterExtensionsSectionPath {
  30.             get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.SchemaImporterExtensionsSectionName); }
  31.         }
  32.        
  33.         static internal string DateTimeSerializationSectionPath {
  34.             get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.DateTimeSerializationSectionName); }
  35.         }
  36.        
  37.         static internal string XmlSerializerSectionPath {
  38.             get { return ConfigurationStrings.GetSectionPath(ConfigurationStrings.XmlSerializerSectionName); }
  39.         }
  40.        
  41.         internal const string Name = "name";
  42.         internal const string SchemaImporterExtensionsSectionName = "schemaImporterExtensions";
  43.         internal const string DateTimeSerializationSectionName = "dateTimeSerialization";
  44.         internal const string XmlSerializerSectionName = "xmlSerializer";
  45.         internal const string SectionGroupName = "system.xml.serialization";
  46.         internal const string SqlTypesSchemaImporterChar = "SqlTypesSchemaImporterChar";
  47.         internal const string SqlTypesSchemaImporterNChar = "SqlTypesSchemaImporterNChar";
  48.         internal const string SqlTypesSchemaImporterVarChar = "SqlTypesSchemaImporterVarChar";
  49.         internal const string SqlTypesSchemaImporterNVarChar = "SqlTypesSchemaImporterNVarChar";
  50.         internal const string SqlTypesSchemaImporterText = "SqlTypesSchemaImporterText";
  51.         internal const string SqlTypesSchemaImporterNText = "SqlTypesSchemaImporterNText";
  52.         internal const string SqlTypesSchemaImporterVarBinary = "SqlTypesSchemaImporterVarBinary";
  53.         internal const string SqlTypesSchemaImporterBinary = "SqlTypesSchemaImporterBinary";
  54.         internal const string SqlTypesSchemaImporterImage = "SqlTypesSchemaImporterImage";
  55.         internal const string SqlTypesSchemaImporterDecimal = "SqlTypesSchemaImporterDecimal";
  56.         internal const string SqlTypesSchemaImporterNumeric = "SqlTypesSchemaImporterNumeric";
  57.         internal const string SqlTypesSchemaImporterBigInt = "SqlTypesSchemaImporterBigInt";
  58.         internal const string SqlTypesSchemaImporterInt = "SqlTypesSchemaImporterInt";
  59.         internal const string SqlTypesSchemaImporterSmallInt = "SqlTypesSchemaImporterSmallInt";
  60.         internal const string SqlTypesSchemaImporterTinyInt = "SqlTypesSchemaImporterTinyInt";
  61.         internal const string SqlTypesSchemaImporterBit = "SqlTypesSchemaImporterBit";
  62.         internal const string SqlTypesSchemaImporterFloat = "SqlTypesSchemaImporterFloat";
  63.         internal const string SqlTypesSchemaImporterReal = "SqlTypesSchemaImporterReal";
  64.         internal const string SqlTypesSchemaImporterDateTime = "SqlTypesSchemaImporterDateTime";
  65.         internal const string SqlTypesSchemaImporterSmallDateTime = "SqlTypesSchemaImporterSmallDateTime";
  66.         internal const string SqlTypesSchemaImporterMoney = "SqlTypesSchemaImporterMoney";
  67.         internal const string SqlTypesSchemaImporterSmallMoney = "SqlTypesSchemaImporterSmallMoney";
  68.         internal const string SqlTypesSchemaImporterUniqueIdentifier = "SqlTypesSchemaImporterUniqueIdentifier";
  69.         internal const string Type = "type";
  70.         internal const string Mode = "mode";
  71.         internal const string CheckDeserializeAdvances = "checkDeserializeAdvances";
  72.     }
  73. }

Developer Fusion