C# 클래스 Faker.Computer

Static class for computer generation
파일 보기 프로젝트 열기: FermJacob/Faker.Data

공개 메소드들

메소드 설명
CommonFileExt ( ) : string

Returns a commonly used file extension

CommonFileName ( string ext = null ) : string

Gets a common filename

CommonFileType ( ) : string

Returns a commonly used file type

Exception ( ) : Exception

Get a random `Exception` with a fake stack trace.

FileExt ( string mimeType = null ) : string

Gets a random extension for the given mime type.

FileName ( string ext = null ) : string

Get a random file name

FileType ( ) : string

Returns any file type available as mime-type

SemanticVersion ( ) : string

Get a random Semantic Version version string.

Version ( ) : System.Version

Get a random `System.Version`

메소드 상세

CommonFileExt() 공개 정적인 메소드

Returns a commonly used file extension
public static CommonFileExt ( ) : string
리턴 string

CommonFileName() 공개 정적인 메소드

Gets a common filename
public static CommonFileName ( string ext = null ) : string
ext string An extension
리턴 string

CommonFileType() 공개 정적인 메소드

Returns a commonly used file type
public static CommonFileType ( ) : string
리턴 string

Exception() 공개 정적인 메소드

Get a random `Exception` with a fake stack trace.
public static Exception ( ) : Exception
리턴 System.Exception

FileExt() 공개 정적인 메소드

Gets a random extension for the given mime type.
public static FileExt ( string mimeType = null ) : string
mimeType string A meme type
리턴 string

FileName() 공개 정적인 메소드

Get a random file name
public static FileName ( string ext = null ) : string
ext string An extension
리턴 string

FileType() 공개 정적인 메소드

Returns any file type available as mime-type
public static FileType ( ) : string
리턴 string

SemanticVersion() 공개 정적인 메소드

Get a random Semantic Version version string.
public static SemanticVersion ( ) : string
리턴 string

Version() 공개 정적인 메소드

Get a random `System.Version`
public static Version ( ) : System.Version
리턴 System.Version