UrlHelper.AvatarUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

AvatarUrl(IHasAvatar, Nullable, Nullable, Boolean, Nullable, Boolean, Boolean, Boolean)

Returns an url to the avatar image for the specified object.

public static string AvatarUrl(this IHasAvatar obj, int? width = default(int? ), int? height = default(int? ), bool retina = true, Color? background = default(Color? ), bool absolute = false, bool rasterize = false, bool cachebust = true)

Parameters

width
System.Nullable{System.Int32}
height
System.Nullable{System.Int32}
retina
System.Boolean
background
System.Nullable{System.Drawing.Color}
absolute
System.Boolean
rasterize
System.Boolean
cachebust
System.Boolean

Returns

System.String