2 writes to StreamName
System.Configuration.ConfigurationManager (2)
System\Configuration\BaseConfigurationRecord.cs (1)
551ConfigStreamInfo.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)
252public string StreamName => ConfigStreamInfo.StreamName; 522string streamname = ConfigStreamInfo?.StreamName; 552if (!string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 555ConfigStreamInfo.StreamVersion = MonitorStream(null, null, ConfigStreamInfo.StreamName); 556using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) 567_flags[PrefetchAll] = Host.PrefetchAll(_configPath, ConfigStreamInfo.StreamName); 569using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, _initErrors)) 595ConfigStreamInfo.StreamName, 0)); 601ConfigStreamInfo.StreamName, 0), 624if (!string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 626StreamInfo fileStreamInfo = (StreamInfo)streamInfos[ConfigStreamInfo.StreamName]; 631streamInfos.Remove(ConfigStreamInfo.StreamName); 632ConfigStreamInfo.StreamInfos.Add(ConfigStreamInfo.StreamName, fileStreamInfo); 702using (Stream stream = Host.OpenStreamForRead(ConfigStreamInfo.StreamName)) 708using (XmlUtil xmlUtil = new XmlUtil(stream, ConfigStreamInfo.StreamName, true, errors)) 739ConfigStreamInfo.StreamName, lineNumber), 2601Host.GetStreamNameForConfigSource(ConfigStreamInfo.StreamName, configSource); 3373if (forceEvaluatation && !IsInitDelayed && !string.IsNullOrEmpty(ConfigStreamInfo.StreamName)) 3387ConfigStreamInfo.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;