C# 클래스 Faker.RoboHash

A collection of RoboHash.org avatar related resources.
When version 3.0 hits, this will be in Faker.Avatar namespace.
파일 보기 프로젝트 열기: AdmiringWorm/Faker.NET.Portable 1 사용 예제들

공개 메소드들

메소드 설명
Image ( string slug = null, string size = "300x300", RoboHashImageFormat format = RoboHashImageFormat.png, string set = "set1" ) : string

Gets a random RoboHash.org image URL.

메소드 상세

Image() 공개 정적인 메소드

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
리턴 string