Author: gonzalo
Date: 2005-03-16 18:26:20 -0500 (Wed, 16 Mar 2005)
New Revision: 41923
Modified:
trunk/mcs/class/System/System.Configuration/ChangeLog
trunk/mcs/class/System/System.Configuration/Configuration.cs
Log:
2005-03-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* Configuration.cs: a few MonoTODOs less.
Modified: trunk/mcs/class/System/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Configuration/ChangeLog 2005-03-16
22:53:30 UTC (rev 41922)
+++ trunk/mcs/class/System/System.Configuration/ChangeLog 2005-03-16
23:26:20 UTC (rev 41923)
@@ -1,3 +1,7 @@
+2005-03-16 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * Configuration.cs: a few MonoTODOs less.
+
2005-03-02 Sureshkumar T <[EMAIL PROTECTED]>
* ConfigurationSettings.cs: Implemented ConnectionStrings
Modified: trunk/mcs/class/System/System.Configuration/Configuration.cs
===================================================================
--- trunk/mcs/class/System/System.Configuration/Configuration.cs
2005-03-16 22:53:30 UTC (rev 41922)
+++ trunk/mcs/class/System/System.Configuration/Configuration.cs
2005-03-16 23:26:20 UTC (rev 41923)
@@ -88,14 +88,12 @@
get { throw new NotImplementedException (); }
}
- [MonoTODO]
public ConnectionStringsSection ConnectionStrings {
- get { throw new NotImplementedException (); }
+ get { return (ConnectionStringsSection) GetSection
("connectionStrings"); }
}
- [MonoTODO]
public string FilePath {
- get { throw new NotImplementedException (); }
+ get { return fileName; }
}
[MonoTODO]
@@ -151,72 +149,61 @@
public static Configuration GetMachineConfiguration (string
path)
{
- return new Configuration (path);
+ return GetMachineConfiguration (path, null);
}
- [MonoTODO]
public static Configuration GetMachineConfiguration (string
path, string server)
{
- throw new NotImplementedException ();
+ return GetMachineConfiguration (path, server,
IntPtr.Zero);
}
[MonoTODO]
public static Configuration GetMachineConfiguration (
string path, string server,
IntPtr user_token)
{
- throw new NotImplementedException ();
+ return new Configuration (path);
}
[MonoTODO]
public static Configuration GetMachineConfiguration (
string path, string server,
string username, string password)
{
- throw new NotImplementedException ();
+ return new Configuration (path);
}
- [MonoTODO]
- public static Configuration GetWebConfiguration ()
- {
- throw new NotImplementedException ();
- }
-
- [MonoTODO]
public static Configuration GetWebConfiguration (string path)
{
- return new Configuration (path, GetMachineConfiguration
());
+ return GetWebConfiguration (path, null);
}
- [MonoTODO]
public static Configuration GetWebConfiguration (string path,
string site)
{
- throw new NotImplementedException ();
+ return GetWebConfiguration (path, site, null);
}
- [MonoTODO]
public static Configuration GetWebConfiguration (string path,
string site, string subpath)
{
- throw new NotImplementedException ();
+ return GetWebConfiguration (path, site, subpath, null);
}
- [MonoTODO]
public static Configuration GetWebConfiguration (
string path, string site,
string subpath, string server)
{
- throw new NotImplementedException ();
+ return GetWebConfiguration (path, site, subpath,
server, IntPtr.Zero);
}
[MonoTODO]
public static Configuration GetWebConfiguration (
string path, string site,
string subpath, string server, IntPtr user_token)
{
- throw new NotImplementedException ();
+ return new Configuration (path, GetMachineConfiguration
());
}
[MonoTODO]
public static Configuration GetWebConfiguration (
string path, string site,
string subpath, string server, string username, string password)
{
- throw new NotImplementedException ();
+ return new Configuration (path, GetMachineConfiguration
());
}
public ConfigurationSection GetSection (string path)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches