Properties.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. //------------------------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------------------------
  4. // This code was produced by a tool, ConfigPropertyGenerator.exe, by reflecting over
  5. // System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
  6. // Please add this file to the project that built the assembly.
  7. // Doing so will provide better performance for retrieving the ConfigurationElement Properties.
  8. // If compilation errors occur, make sure that the Properties property has not
  9. // already been provided. If it has, decide if you want the version produced by
  10. // this tool or by the developer.
  11. // If build errors result, make sure the config class is marked with the partial keyword.
  12. // To regenerate a new Properties.cs after changes to the configuration OM for
  13. // this assembly, simply run Indigo\Suites\Configuration\Infrastructure\ConfigPropertyGenerator.
  14. // If any changes affect this file, the suite will fail. Instructions on how to
  15. // update Properties.cs will be included in the tests output file (ConfigPropertyGenerator.out).
  16. using System.Configuration;
  17. using System.Globalization;
  18. // configType.Name: DeclaredTypeElement
  19. namespace System.Runtime.Serialization.Configuration
  20. {
  21. public sealed partial class DeclaredTypeElement
  22. {
  23. ConfigurationPropertyCollection properties;
  24. protected override ConfigurationPropertyCollection Properties
  25. {
  26. get
  27. {
  28. if (this.properties == null)
  29. {
  30. ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
  31. properties.Add(new ConfigurationProperty("", typeof(System.Runtime.Serialization.Configuration.TypeElementCollection), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection));
  32. properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Runtime.Serialization.Configuration.DeclaredTypeValidator(), System.Configuration.ConfigurationPropertyOptions.IsKey));
  33. this.properties = properties;
  34. }
  35. return this.properties;
  36. }
  37. }
  38. }
  39. }
  40. // configType.Name: NetDataContractSerializerSection
  41. namespace System.Runtime.Serialization.Configuration
  42. {
  43. public sealed partial class NetDataContractSerializerSection
  44. {
  45. ConfigurationPropertyCollection properties;
  46. protected override ConfigurationPropertyCollection Properties
  47. {
  48. get
  49. {
  50. if (this.properties == null)
  51. {
  52. ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
  53. properties.Add(new ConfigurationProperty("enableUnsafeTypeForwarding", typeof(System.Boolean), false, null, null, System.Configuration.ConfigurationPropertyOptions.None));
  54. this.properties = properties;
  55. }
  56. return this.properties;
  57. }
  58. }
  59. }
  60. }
  61. // configType.Name: ParameterElement
  62. namespace System.Runtime.Serialization.Configuration
  63. {
  64. public sealed partial class ParameterElement
  65. {
  66. ConfigurationPropertyCollection properties;
  67. protected override ConfigurationPropertyCollection Properties
  68. {
  69. get
  70. {
  71. if (this.properties == null)
  72. {
  73. ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
  74. properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
  75. properties.Add(new ConfigurationProperty("", typeof(System.Runtime.Serialization.Configuration.ParameterElementCollection), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection));
  76. properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
  77. this.properties = properties;
  78. }
  79. return this.properties;
  80. }
  81. }
  82. }
  83. }
  84. // configType.Name: DataContractSerializerSection
  85. namespace System.Runtime.Serialization.Configuration
  86. {
  87. public sealed partial class DataContractSerializerSection
  88. {
  89. ConfigurationPropertyCollection properties;
  90. protected override ConfigurationPropertyCollection Properties
  91. {
  92. get
  93. {
  94. if (this.properties == null)
  95. {
  96. ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
  97. properties.Add(new ConfigurationProperty("declaredTypes", typeof(System.Runtime.Serialization.Configuration.DeclaredTypeElementCollection), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
  98. this.properties = properties;
  99. }
  100. return this.properties;
  101. }
  102. }
  103. }
  104. }
  105. // configType.Name: TypeElement
  106. namespace System.Runtime.Serialization.Configuration
  107. {
  108. public sealed partial class TypeElement
  109. {
  110. ConfigurationPropertyCollection properties;
  111. protected override ConfigurationPropertyCollection Properties
  112. {
  113. get
  114. {
  115. if (this.properties == null)
  116. {
  117. ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection();
  118. properties.Add(new ConfigurationProperty("", typeof(System.Runtime.Serialization.Configuration.ParameterElementCollection), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsDefaultCollection));
  119. properties.Add(new ConfigurationProperty("type", typeof(System.String), string.Empty, null, new System.Configuration.StringValidator(0, 2147483647, null), System.Configuration.ConfigurationPropertyOptions.None));
  120. properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
  121. this.properties = properties;
  122. }
  123. return this.properties;
  124. }
  125. }
  126. }
  127. }