2 writes to StreamName
System.Configuration.ConfigurationManager (2)
System\Configuration\BaseConfigurationRecord.cs (1)
547ConfigStreamInfo.StreamName = Host.GetStreamName(_configPath);
System\Configuration\MgmtConfigurationRecord.cs (1)
982ConfigStreamInfo.StreamName = filename;
41 references to StreamName
System.Configuration.ConfigurationManager (41)
System\Configuration\BaseConfigurationRecord.cs (19)
248public string StreamName => ConfigStreamInfo.StreamName; 518string streamname = ConfigStreamInfo?.StreamName; 548if (!string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 551ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 552using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) 563_flags[PrefetchAll] = Host.PrefetchAll(_configPath, ConfigStreamInfo.StreamName); 565using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, _initErrors)) 591ConfigStreamInfo.StreamName, 0)); 597ConfigStreamInfo.StreamName, 0), 620if (!string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 622StreamInfo fileStreamInfo = (StreamInfo)streamInfos[ConfigStreamInfo.StreamName]; 627streamInfos.Remove(ConfigStreamInfo.StreamName); 628ConfigStreamInfo.StreamInfos.Add(ConfigStreamInfo.StreamName, fileStreamInfo); 698using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) 704using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, errors)) 735ConfigStreamInfo.StreamName, lineNumber), 2597Host.GetStreamNameForConfigSource(ConfigStreamInfo.StreamName, configSource); 3369if (forceEvaluatation && !IsInitDelayed && !string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 3383ConfigStreamInfo.StreamName, 0, null, null,
System\Configuration\MgmtConfigurationRecord.cs (22)
56internal string ConfigurationFilePath => UpdateConfigHost.GetNewStreamname(ConfigStreamInfo.StreamName) ?? string.Empty; 419e, ConfigStreamInfo.StreamName, 0); 545if (string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 551newConfigSourceStreamName = Host.GetStreamNameForConfigSource(ConfigStreamInfo.StreamName, 701ConfigStreamInfo.StreamName, 843factoryRecord = new FactoryRecord(configKey, group, name, typeName, ConfigStreamInfo.StreamName, -1); 977if (string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 983ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 987UpdateConfigHost.AddStreamname(ConfigStreamInfo.StreamName, filename, Host.IsRemote); 1016using (Stream streamRead = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) 1021ConfigStreamInfo.StreamName, 0); 1033using (StreamReader reader = new StreamReader(ConfigStreamInfo.StreamName)) 1060using (Stream streamWrite = Host.OpenStreamForWrite(ConfigStreamInfo.StreamName, null, 1075ConfigStreamInfo.StreamName, NamespaceChangeNeeded, utilWriter); 1087if (streamOpened) Host.WriteCompleted(ConfigStreamInfo.StreamName, false, writeContext); 1097ConfigStreamInfo.StreamName, 0); 1100Host.WriteCompleted(ConfigStreamInfo.StreamName, true, writeContext); 1105ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 1751factoryRecord.Filename = ConfigStreamInfo.StreamName; 1845ConfigStreamInfo.StreamName, 0, ConfigStreamInfo.StreamVersion, null, 1886ConfigStreamInfo.StreamName, 0); 3015string templateStreamName = Host.IsRemote ? null : ConfigStreamInfo.StreamName;