WeavyHtmlExtensions.Facepile Method

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

Facepile(IEnumerable, int, bool, bool)

Render linked avatar images for the specified user objects.

public static MvcHtmlString Facepile(this IEnumerable<User> users, int size = 32, bool link = false, bool presence = false)

Parameters

users
System.Collections.Generic.IEnumerable
size
int

Size of avatar images, eg. 24, 32, 48.

link
bool

true to link to user profiles, false to only redner avatar images.

presence
bool

true to render presence indicators, otherwise false

Returns

System.Web.Mvc.MvcHtmlString