/// <summary> /// <para>Specifies that translatable text fragment is in plain text format.</para> /// </summary> /// <param name="request">Translation request instance.</param> /// <returns>Back reference to the provided translation <paramref name="request"/>.</returns> /// <exception cref="ArgumentNullException">If <paramref name="request"/> is a <c>null</c> reference.</exception> /// <seealso cref="ITranslationRequest.Format(string)"/> public static ITranslationRequest PlainText(this ITranslationRequest request) { Assertion.NotNull(request); return request.Format("plain"); }
/// <summary> /// <para>Specifies that translatable text fragment is in HTML format.</para> /// </summary> /// <param name="request">Translation request instance.</param> /// <returns>Back reference to the provided translation <paramref name="request"/>.</returns> /// <exception cref="ArgumentNullException">If <paramref name="request"/> is a <c>null</c> reference.</exception> /// <seealso cref="ITranslationRequest.Format(string)"/> public static ITranslationRequest Html(this ITranslationRequest request) { Assertion.NotNull(request); return request.Format("html"); }