/// <summary> /// <para>Type of text label to show on button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="type">Type of text label.</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="IMailRuLikeButtonWidget.TextType(byte)"/> public static IMailRuLikeButtonWidget TextType(this IMailRuLikeButtonWidget widget, MailRuLikeButtonTextType type) { Assertion.NotNull(widget); return(widget.TextType((byte)type)); }
/// <summary> /// <para>Type of text label to show on button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="type">Type of text label.</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="IMailRuLikeButtonWidget.TextType(byte)"/> public static IMailRuLikeButtonWidget TextType(this IMailRuLikeButtonWidget widget, MailRuLikeButtonTextType type) { Assertion.NotNull(widget); return widget.TextType((byte)type); }