4 writes to Host
System.Configuration (2)
System\Configuration\ClientConfigurationHost.cs (1)
44
Host
= new InternalConfigHost();
System\Configuration\updateconfighost.cs (1)
21
Host
= host;
System.Web (2)
Configuration\RemoteWebConfigurationHost.cs (1)
183
Host
= webConfigurationHost;
Configuration\WebConfigurationHost.cs (1)
81
Host
= (IInternalConfigHost) Activator.CreateInstance(type, true);
56 references to Host
System.Configuration (53)
System\Configuration\ClientConfigurationHost.cs (6)
146
Host
.Init(configRoot, hostInitParams);
295
return
Host
.GetStreamNameForConfigSource(streamName, configSource);
310
return
Host
.GetStreamVersion(streamName);
323
return
Host
.OpenStreamForRead(streamName);
361
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
370
Host
.DeleteStream(streamName);
System\Configuration\Internal\DelegatingConfigHost.cs (41)
54
Host
.Init(configRoot, hostInitParams);
60
Host
.InitForConfiguration(ref locationSubPath, out configPath, out locationConfigPath, configRoot, hostInitConfigurationParams);
64
return
Host
.IsConfigRecordRequired(configPath);
68
return
Host
.IsInitDelayed(configRecord);
72
Host
.RequireCompleteInit(configRecord);
83
return
Host
.IsSecondaryRoot(configPath);
87
return
Host
.GetStreamName(configPath);
91
return
Host
.GetStreamNameForConfigSource(streamName, configSource);
95
return
Host
.GetStreamVersion(streamName);
99
return
Host
.OpenStreamForRead(streamName);
103
return
Host
.OpenStreamForRead(streamName, assertPermissions);
107
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
111
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext, assertPermissions);
115
Host
.WriteCompleted(streamName, success, writeContext);
119
Host
.WriteCompleted(streamName, success, writeContext, assertPermissions);
123
Host
.DeleteStream(streamName);
127
return
Host
.IsFile(streamName);
132
return
Host
.SupportsChangeNotifications;
137
return
Host
.StartMonitoringStreamForChanges(streamName, callback);
141
Host
.StopMonitoringStreamForChanges(streamName, callback);
146
return
Host
.SupportsRefresh;
152
return
Host
.SupportsPath;
158
return
Host
.SupportsLocation;
163
return
Host
.IsAboveApplication(configPath);
167
return
Host
.IsDefinitionAllowed(configPath, allowDefinition, allowExeDefinition);
171
Host
.VerifyDefinitionAllowed(configPath, allowDefinition, allowExeDefinition, errorInfo);
175
return
Host
.GetConfigPathFromLocationSubPath(configPath, locationSubPath);
179
return
Host
.IsLocationApplicable(configPath);
183
return
Host
.IsTrustedConfigPath(configPath);
187
return
Host
.IsFullTrustSectionWithoutAptcaAllowed(configRecord);
191
Host
.GetRestrictedPermissions(configRecord, out permissionSet, out isHostReady);
195
return
Host
.Impersonate();
199
return
Host
.PrefetchAll(configPath, streamName);
203
return
Host
.PrefetchSection(sectionGroupName, sectionName);
207
return
Host
.CreateDeprecatedConfigContext(configPath);
213
return
Host
.CreateConfigurationContext( configPath, locationSubPath );
217
return
Host
.DecryptSection(encryptedXml, protectionProvider, protectedConfigSection);
221
return
Host
.EncryptSection(clearTextXml, protectionProvider, protectedConfigSection);
225
return
Host
.GetConfigType(typeName, throwOnError);
229
return
Host
.GetConfigTypeName(t);
234
return
Host
.IsRemote;
System\Configuration\updateconfighost.cs (6)
91
return
Host
.GetStreamVersion(streamName);
101
return
Host
.OpenStreamForRead(streamName);
112
return
Host
.OpenStreamForWrite(streamName, templateStreamName, ref writeContext);
129
Host
.WriteCompleted(streamName, success, writeContext);
143
Host
.DeleteStream(streamName);
153
return
Host
.IsFile(streamName);
System.Web (3)
Configuration\WebConfigurationHost.cs (3)
221
Host
.Init(configRoot, hostInitParams);
252
Host
.Init(configRoot, hostInitConfigurationParams);
734
return
Host
.IsFullTrustSectionWithoutAptcaAllowed(configRecord);