/// <summary> /// <para>Text to display on button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="text">Numeric code of text to display.</param> /// <returns>Reference to provided <paramref name="widget"/>.</returns> /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception> /// <seealso cref="IYandexMoneyDonateFormWidget.Text(byte)"/> public static IYandexMoneyDonateFormWidget Text(this IYandexMoneyDonateFormWidget widget, YandexMoneyDonateFormText text) { Assertion.NotNull(widget); return(widget.Text((byte)text)); }
/// <summary> /// <para>Text to display on button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="text">Numeric code of text to display.</param> /// <returns>Reference to provided <paramref name="widget"/>.</returns> /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception> /// <seealso cref="IYandexMoneyDonateFormWidget.Text(byte)"/> public static IYandexMoneyDonateFormWidget Text(this IYandexMoneyDonateFormWidget widget, YandexMoneyDonateFormText text) { Assertion.NotNull(widget); return widget.Text((byte) text); }