Umbraco.Belle.System.ManifestParser.ParseMain C# (CSharp) Method

ParseMain() static private method

Parses the JsResources.Main and replaces the replacement tokens accordingly.
static private ParseMain ( ) : string
return string
        internal static string ParseMain(params string[] replacements)
        {
            var count = 0;
            return Token.Replace(JsResources.Main, match =>
                {
                    var replaced = replacements[count];
                    count++;
                    return replaced;
                });
        }