private static string InitProgressTitle(string targetObject) { return(ProgressTitleTemplate.GenerateUsing("Initializing Context for Compiling ", targetObject)); }
/// <summary> /// Substitutes the given items into the text replacing any text block in the form |{n}| where /// n is the order of the given item. Functionally similar to String.Format(). /// </summary> /// <param name="text"></param> /// <param name="items"></param> /// <returns></returns> public string Substitute(string text, params object[] items) { _substituteComposer.SetTemplateText(text); return(_substituteComposer.GenerateUsing(items)); }