HtmlHelperExtensions.Badge Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

Overloads

Badge(HtmlHelper, Invite) Returns a badge indicating the invite status.
Badge(HtmlHelper, Member) Returns a badge indicating the space member permission.
Badge(HtmlHelper, Privacy, Object) Returns a badge indicating the space privacy level.
Badge(HtmlHelper, User, Object) Returns a badge indicating the user status.

Badge(HtmlHelper, Invite)

Returns a badge indicating the invite status.

public static MvcHtmlString Badge(this HtmlHelper html, Invite invite)

Parameters

html
System.Web.Mvc.HtmlHelper
invite
Invite

Returns

System.Web.Mvc.MvcHtmlString

HTML markup for a badge.

Badge(HtmlHelper, Member)

Returns a badge indicating the space member permission.

public static MvcHtmlString Badge(this HtmlHelper html, Member member)

Parameters

html
System.Web.Mvc.HtmlHelper
member
Member

Returns

System.Web.Mvc.MvcHtmlString

HTML markup for a badge.

Badge(HtmlHelper, Privacy, Object)

Returns a badge indicating the space privacy level.

public static MvcHtmlString Badge(this HtmlHelper html, Privacy privacy, object htmlAttributes = null)

Parameters

html
System.Web.Mvc.HtmlHelper
privacy
Privacy
htmlAttributes
System.Object

Returns

System.Web.Mvc.MvcHtmlString

HTML markup for a badge.

Badge(HtmlHelper, User, Object)

Returns a badge indicating the user status.

public static MvcHtmlString Badge(this HtmlHelper html, User user, object htmlAttributes = null)

Parameters

html
System.Web.Mvc.HtmlHelper
user
User
htmlAttributes
System.Object

Returns

System.Web.Mvc.MvcHtmlString

HTML markup for a badge.