SetName() приватный Метод

private SetName ( string name ) : void
name string
Результат void
Пример #1
0
        private SectionInfo CreateSectionInfo(IConfigSystem system, string configPath, string sectionName, string sectionType)
        {
            var sectionInformation = new SectionInformation
            {
                Type           = sectionType,
                ConfigFilePath = configPath
            };

            sectionInformation.SetName(sectionName);

            var sectionInfo = new SectionInfo(sectionName, sectionInformation)
            {
                StreamName = FileName,
                ConfigHost = system.Host
            };

            return(sectionInfo);
        }