Binboo.Core.Configuration.CoreConfig.GetActiveConfigId C# (CSharp) Method

GetActiveConfigId() private static method

private static GetActiveConfigId ( ) : string
return string
        private static string GetActiveConfigId()
        {
            XmlNode activeConfigIdNode = _config.SelectSingleNode("//binboo/active/@refid");
            if (activeConfigIdNode == null)
            {
                throw new Exception("Invalid configuration file. <Active id='ID' /> node not found.");
            }

            return activeConfigIdNode.Value;
        }