/// <summary> /// <para>Type of information to be displayed about given community.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="mode">Community's info type.</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="IVkontakteCommunityWidget.Mode(byte)"/> public static IVkontakteCommunityWidget Mode(this IVkontakteCommunityWidget widget, VkontakteCommunityMode mode) { Assertion.NotNull(widget); return(widget.Mode((byte)mode)); }
/// <summary> /// <para>Type of information to be displayed about given community.</para> /// </summary> /// <param name="widget">Widget to call method on.</param> /// <param name="mode">Community's info type.</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="IVkontakteCommunityWidget.Mode(byte)"/> public static IVkontakteCommunityWidget Mode(this IVkontakteCommunityWidget widget, VkontakteCommunityMode mode) { Assertion.NotNull(widget); return widget.Mode((byte)mode); }