C# Class Gablarski.Clients.AvatarCache

显示文件 Open project: ermau/Gablarski

Public Methods

Method Description
Clear ( ) : void
GetAvatarAsync ( string avatar ) : Task

Gets the binary data from the specified URL, or from the cache if available.

RemoveAvatar ( string url ) : void

Private Methods

Method Description
AvatarCache ( ) : System

Method Details

Clear() public static method

public static Clear ( ) : void
return void

GetAvatarAsync() public static method

Gets the binary data from the specified URL, or from the cache if available.
public static GetAvatarAsync ( string avatar ) : Task
avatar string The URL or Gravatar email to retrieve the image from.
return Task

RemoveAvatar() public static method

public static RemoveAvatar ( string url ) : void
url string
return void