WeavyHtmlExtensions.AvatarLink Method

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

AvatarLink(IHasAvatar, int, bool, Color?, bool, object, int?, int?, bool)

Returns an avatar image that links to the specified entity.

public static MvcHtmlString AvatarLink(this IHasAvatar entity, int size = 48, bool retina = true, Color? background = default(Color? ), bool absolute = false, object htmlAttributes = null, int? width = default(int? ), int? height = default(int? ), bool presence = false)

Parameters

entity
IHasAvatar
size
int
retina
bool
background
System.Drawing.Color?
absolute
bool
htmlAttributes
object
width
int?
height
int?
presence
bool

Returns

System.Web.Mvc.MvcHtmlString