/// <summary> /// Publishes the specified localised format, indented appropriately. /// </summary> /// <param name="indentation">The indentation.</param> /// <param name="localisedFormat">The localised format.</param> /// <param name="items">The items.</param> public void Publish <TLocalised>(Indentation indentation, TLocalised localisedFormat, params object[] items) where TLocalised : struct, IComparable, IFormattable { var format = Locals.GetString(localisedFormat); Publish("{0}{1}", indentation.AsString(), Format.String(format, items)); }
/// <summary> /// Publishes the specified localised format, indented appropriately. /// </summary> /// <param name="indentation">The indentation.</param> /// <param name="localisedFormat">The localised format.</param> public void Publish(Indentation indentation, string localisedFormat) { Publish("{0}{1}", indentation.AsString(), localisedFormat); }