C# Class Faker.RoboHash

A collection of RoboHash.org avatar related resources.
When version 3.0 hits, this will be in Faker.Avatar namespace.
Exibir arquivo Open project: AdmiringWorm/Faker.NET.Portable Class Usage Examples

Public Methods

Method Description
Image ( string slug = null, string size = "300x300", RoboHashImageFormat format = RoboHashImageFormat.png, string set = "set1" ) : string

Gets a random RoboHash.org image URL.

Method Details

Image() public static method

Gets a random RoboHash.org image URL.
is . Size should be specified in format 300x300
public static Image ( string slug = null, string size = "300x300", RoboHashImageFormat format = RoboHashImageFormat.png, string set = "set1" ) : string
slug string The optional slug to set instead of generating a new random slug.
size string The image size
format RoboHashImageFormat The image format
set string The image set to use in url generation
return string