/// <summary> /// <para>The verb to display on the button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="verb">Verb on the button.</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="IFacebookLikeButtonWidget.Verb(string)"/> public static IFacebookLikeButtonWidget Verb(this IFacebookLikeButtonWidget widget, FacebookLikeButtonVerb verb) { Assertion.NotNull(widget); return(widget.Verb(verb.ToString().ToLowerInvariant())); }
/// <summary> /// <para>The verb to display on the button.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="verb">Verb on the button.</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="IFacebookLikeButtonWidget.Verb(string)"/> public static IFacebookLikeButtonWidget Verb(this IFacebookLikeButtonWidget widget, FacebookLikeButtonVerb verb) { Assertion.NotNull(widget); return widget.Verb(verb.ToString().ToLowerInvariant()); }