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

InjectActiveConfigId() private static method

private static InjectActiveConfigId ( string xpath ) : string
xpath string
return string
        private static string InjectActiveConfigId(string xpath)
        {
            int index = ConfigPathPrefix.Length;
            return xpath.Insert(xpath.IndexOf("/", index), String.Format("[@id='{0}']", GetActiveConfigId()));
        }