X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Configuration%2FSystem.Configuration.Internal%2FDelegatingConfigHost.cs;h=1251e9b67d8f92da1bfb85bff932b29ed46f3fc8;hb=4eb352bcb3ef7a71dc9ab62c5cd2d5e7598619f7;hp=594213b588addb3d4df022b184e3d505e71e3358;hpb=f73e0d5c67f0d26e85b92fc4b75fc48783f20d64;p=mono.git diff --git a/mcs/class/System.Configuration/System.Configuration.Internal/DelegatingConfigHost.cs b/mcs/class/System.Configuration/System.Configuration.Internal/DelegatingConfigHost.cs index 594213b588a..1251e9b67d8 100644 --- a/mcs/class/System.Configuration/System.Configuration.Internal/DelegatingConfigHost.cs +++ b/mcs/class/System.Configuration/System.Configuration.Internal/DelegatingConfigHost.cs @@ -139,7 +139,7 @@ namespace System.Configuration.Internal public virtual bool IsInitDelayed (IInternalConfigRecord configRecord) { - throw new NotImplementedException (); + return host.IsInitDelayed (configRecord); } public virtual bool IsFile (string streamName) @@ -149,7 +149,7 @@ namespace System.Configuration.Internal public bool IsFullTrustSectionWithoutAptcaAllowed (IInternalConfigRecord configRecord) { - throw new NotImplementedException (); + return host.IsFullTrustSectionWithoutAptcaAllowed (configRecord); } public virtual bool IsLocationApplicable (string configPath) @@ -158,19 +158,17 @@ namespace System.Configuration.Internal } public bool IsRemote { - get { - throw new NotImplementedException (); - } + get { return host.IsRemote; } } public bool IsSecondaryRoot (string configPath) { - throw new NotImplementedException (); + return host.IsSecondaryRoot (configPath); } public bool IsTrustedConfigPath (string configPath) { - throw new NotImplementedException (); + return host.IsTrustedConfigPath (configPath); } public virtual Stream OpenStreamForRead (string streamName) @@ -180,7 +178,7 @@ namespace System.Configuration.Internal public Stream OpenStreamForRead (string streamName, bool assertPermissions) { - throw new NotImplementedException (); + return host.OpenStreamForRead (streamName, assertPermissions); } public virtual Stream OpenStreamForWrite (string streamName, string templateStreamName, ref object writeContext) @@ -190,7 +188,7 @@ namespace System.Configuration.Internal public Stream OpenStreamForWrite (string streamName, string templateStreamName, ref object writeContext, bool assertPermissions) { - throw new NotImplementedException (); + return host.OpenStreamForWrite (streamName, templateStreamName, ref writeContext, assertPermissions); } public virtual bool PrefetchAll (string configPath, string streamName) @@ -205,7 +203,7 @@ namespace System.Configuration.Internal public virtual void RequireCompleteInit (IInternalConfigRecord configRecord) { - throw new NotImplementedException (); + host.RequireCompleteInit (configRecord); } public virtual object StartMonitoringStreamForChanges (string streamName, StreamChangeCallback callback) @@ -230,7 +228,7 @@ namespace System.Configuration.Internal public void WriteCompleted (string streamName, bool success, object writeContext, bool assertPermissions) { - throw new NotImplementedException (); + host.WriteCompleted (streamName, success, writeContext, assertPermissions); } public virtual bool SupportsChangeNotifications { @@ -245,7 +243,7 @@ namespace System.Configuration.Internal get { return host.SupportsPath; } } - public virtual bool SupportsRefresh { + public virtual bool SupportsRefresh { get { return host.SupportsRefresh; } } }