Configuration.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. //
  2. // System.Configuration.ConfigurationLocation.cs
  3. //
  4. // Authors:
  5. // Duncan Mak ([email protected])
  6. //
  7. // Permission is hereby granted, free of charge, to any person obtaining
  8. // a copy of this software and associated documentation files (the
  9. // "Software"), to deal in the Software without restriction, including
  10. // without limitation the rights to use, copy, modify, merge, publish,
  11. // distribute, sublicense, and/or sell copies of the Software, and to
  12. // permit persons to whom the Software is furnished to do so, subject to
  13. // the following conditions:
  14. //
  15. // The above copyright notice and this permission notice shall be
  16. // included in all copies or substantial portions of the Software.
  17. //
  18. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  19. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  20. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  21. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  22. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  23. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  24. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  25. //
  26. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  27. //
  28. #if NET_2_0
  29. using System;
  30. namespace System.Configuration {
  31. public sealed class Configuration
  32. {
  33. internal Configuration ()
  34. {
  35. }
  36. public AppSettingsSection AppSettings {
  37. get { throw new NotImplementedException (); }
  38. }
  39. public PathLevel ConfigurationPathLevel {
  40. get { throw new NotImplementedException (); }
  41. }
  42. public ConnectionStringsSection ConnectionStrings {
  43. get { throw new NotImplementedException (); }
  44. }
  45. public string FilePath {
  46. get { throw new NotImplementedException (); }
  47. }
  48. public bool HasFile {
  49. get { throw new NotImplementedException (); }
  50. }
  51. public ConfigurationLocationCollection Locations {
  52. get { throw new NotImplementedException (); }
  53. }
  54. public string Path {
  55. get { throw new NotImplementedException (); }
  56. }
  57. public ConfigurationSectionGroup RootSectionGroup {
  58. get { throw new NotImplementedException (); }
  59. }
  60. public ConfigurationSectionGroupCollection SectionGroups {
  61. get { throw new NotImplementedException (); }
  62. }
  63. public ConfigurationSectionCollection Sections {
  64. get { throw new NotImplementedException (); }
  65. }
  66. public static Configuration GetExeConfiguration (string path, ConfigurationUserLevel level)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. public static Configuration GetMachineConfiguration ()
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. public static Configuration GetMachineConfiguration (string path)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. public static Configuration GetMachineConfiguration (string path, string server)
  79. {
  80. throw new NotImplementedException ();
  81. }
  82. public static Configuration GetMachineConfiguration (
  83. string path, string server, IntPtr user_token)
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. public static Configuration GetMachineConfiguration (
  88. string path, string server, string username, string password)
  89. {
  90. throw new NotImplementedException ();
  91. }
  92. public static Configuration GetWebConfiguration ()
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. public static Configuration GetWebConfiguration (string path)
  97. {
  98. throw new NotImplementedException ();
  99. }
  100. public static Configuration GetWebConfiguration (string path, string site)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. public static Configuration GetWebConfiguration (string path, string site, string subpath)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. public static Configuration GetWebConfiguration (
  109. string path, string site, string subpath, string server)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. public static Configuration GetWebConfiguration (
  114. string path, string site, string subpath, string server, IntPtr user_token)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. public static Configuration GetWebConfiguration (
  119. string path, string site, string subpath, string server, string username, string password)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. }
  124. }
  125. #endif