Warning: This class have been marked as obsolete, and is expected to be removed in the next major release. Please use the RoboHash or FlatHash classes instead.
Examples of available methods and a possible output from a call. See the API documentation for the syntax of the methods.
NOTES:
By adding using Faker;
, all Faker.
prefixes in the examples can be removed.
Image
Generates an image from the great RoboHash website,
recommended to use RoboHash.Image
instead.
Faker.Avatar.Image(
slug = null,
size = "300x300",
ImageFormat format = ImageFormat.png,
string set = "set1
)
OUTPUTS: "http://robohash.org/dictasitsit.png?size=300x300&set=set1"