The Gravatar type exposes the following members.

Constructors

  Name Description
Public method Gravatar
Initializes a new instance of the Gravatar class.

Methods

  Name Description
Public method CreateGravatarUrl
Public method DownloadGravatarImage
Public method GenerateGravatar
Creates an URL for the Gravatar that can be serverd from a local cache or from Gravatar service.
Protected method Render
Renders the gravatar image
(Overrides WebControl..::..Render(HtmlTextWriter).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Properties

  Name Description
Public property CacheDuration
Gets or sets the cache timeout value in seconds.
Public property DefaultImageUrl
Default image if the service cannot find image for the user
Protected property DependencyInjectionFactory
Gets or sets the dependency injection factory instance.
Public property Email
User's email address
Public property ErrorImagePath
Path for the image that is returned if the service cannot retrieve the gravatar for the current user.
Public property GravatarCacheFolderName
Gets or sets the gravatar cache path.
Public property GravatarServiceTimeout
Timeout for the gravatar service in seconds.
Public property Rating
Gravatar rating
Public property RenderType
Gravatar type
Public property Size
An optional "size" parameter may follow that specifies the desired width and height of the gravatar. Valid values are from 1 to 80 inclusive. Any size other than 80 will cause the original gravatar image to be downsampled using bicubic resampling before output.
Public property UserName
User name

See Also