4 writes to Host
System.Configuration.ConfigurationManager (4)
System\Configuration\ClientConfigurationHost.cs (1)
37
Host
= new InternalConfigHost();
System\Configuration\ClientSettingsStore.cs (1)
258
Host
= TypeUtil.CreateInstance<IInternalConfigHost>(ClientConfigurationHostTypeName);
System\Configuration\ImplicitMachineConfigHost.cs (1)
18
Host
= host;
System\Configuration\UpdateConfigHost.cs (1)
20
Host
= host;
57 references to Host
System.Configuration.ConfigurationManager (57)
System\Configuration\ClientConfigurationHost.cs (6)
138
Host
.Init(configRoot, hostInitParams);
259
return
Host
.GetStreamNameForConfigSource(streamName, configSource);
273
return IsFile(streamName) ?
Host
.GetStreamVersion(streamName) : s_version;
281
if (IsFile(streamName)) return
Host
.OpenStreamForRead(streamName);
315
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
323
Host
.DeleteStream(streamName);
System\Configuration\ClientSettingsStore.cs (7)
235
return (IInternalConfigClientHost)
Host
;
268
Host
.InitForConfiguration(ref locationSubPath, out configPath, out locationConfigPath, configRoot, null, null, desiredConfigPath);
294
return
Host
.OpenStreamForRead(streamName, true);
298
return
Host
.OpenStreamForRead(streamName);
305
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
318
Host
.WriteCompleted(streamName, success, writeContext, true);
322
Host
.WriteCompleted(streamName, success, writeContext);
System\Configuration\Internal\DelegatingConfigHost.cs (38)
33
Host
.Init(configRoot, hostInitParams);
40
Host
.InitForConfiguration(ref locationSubPath, out configPath, out locationConfigPath, configRoot,
46
return
Host
.IsConfigRecordRequired(configPath);
51
return
Host
.IsInitDelayed(configRecord);
56
Host
.RequireCompleteInit(configRecord);
65
return
Host
.IsSecondaryRoot(configPath);
70
return
Host
.GetStreamName(configPath);
75
return
Host
.GetStreamNameForConfigSource(streamName, configSource);
80
return
Host
.GetStreamVersion(streamName);
85
return
Host
.OpenStreamForRead(streamName);
90
return
Host
.OpenStreamForRead(streamName, assertPermissions);
95
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
101
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext, assertPermissions);
106
Host
.WriteCompleted(streamName, success, writeContext);
111
Host
.WriteCompleted(streamName, success, writeContext, assertPermissions);
116
Host
.DeleteStream(streamName);
121
return
Host
.IsFile(streamName);
124
public virtual bool SupportsChangeNotifications =>
Host
.SupportsChangeNotifications;
128
return
Host
.StartMonitoringStreamForChanges(streamName, callback);
133
Host
.StopMonitoringStreamForChanges(streamName, callback);
136
public virtual bool SupportsRefresh =>
Host
.SupportsRefresh;
138
public virtual bool SupportsPath =>
Host
.SupportsPath;
140
public virtual bool SupportsLocation =>
Host
.SupportsLocation;
144
return
Host
.IsAboveApplication(configPath);
150
return
Host
.IsDefinitionAllowed(configPath, allowDefinition, allowExeDefinition);
156
Host
.VerifyDefinitionAllowed(configPath, allowDefinition, allowExeDefinition, errorInfo);
161
return
Host
.GetConfigPathFromLocationSubPath(configPath, locationSubPath);
166
return
Host
.IsLocationApplicable(configPath);
171
return
Host
.PrefetchAll(configPath, streamName);
176
return
Host
.PrefetchSection(sectionGroupName, sectionName);
181
return
Host
.CreateDeprecatedConfigContext(configPath);
187
return
Host
.CreateConfigurationContext(configPath, locationSubPath);
193
return
Host
.DecryptSection(encryptedXml, protectionProvider, protectedConfigSection);
199
return
Host
.EncryptSection(clearTextXml, protectionProvider, protectedConfigSection);
204
return
Host
.GetConfigType(typeName, throwOnError);
209
return
Host
.GetConfigTypeName(t);
212
public virtual bool IsRemote =>
Host
.IsRemote;
215
private IInternalConfigHostPaths HostPaths => (IInternalConfigHostPaths)
Host
;
System\Configuration\UpdateConfigHost.cs (6)
73
:
Host
.GetStreamVersion(streamName);
81
:
Host
.OpenStreamForRead(streamName);
93
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
109
Host
.WriteCompleted(streamName, success, writeContext);
122
else
Host
.DeleteStream(streamName);
130
:
Host
.IsFile(streamName);