C# 클래스 Faker.Commerce

파일 보기 프로젝트 열기: FermJacob/Faker.Data

공개 메소드들

메소드 설명
Department ( ) : string

Gets a random department

Departments ( ) : List

Gets a list of random departments

Departments ( int numberOfDepartments ) : List

Gets a list of random departments

Price ( decimal min, decimal max, int decimals, string symbol = "" ) : string

Gets a random price

Price ( string symbol = "" ) : string

Gets a random price

Prices ( string symbol = "" ) : List

Gets a list of random product prices

Prices ( string symbol, int numberOfPrices = 1 ) : List

Gets a list of random product prices

Product ( ) : string

Gets a random product

ProductAdjective ( ) : string

Gets a random product adjective

ProductAdjectives ( ) : List

Gets a list of random product adjectives

ProductAdjectives ( int numberOfAdjectives ) : List

Gets a list of random product adjectives

ProductMaterial ( ) : string

Gets a random product material

ProductMaterials ( ) : List

Gets a list of random product materials

ProductMaterials ( int numberOfMaterials ) : List

Gets a list of random product materials

ProductName ( ) : string

Gets a random product name

ProductNames ( ) : List

Gets a list of random product names

ProductNames ( int numberOfProductNames ) : List

Gets a list of random product names

Products ( ) : List

Gets a list of random products

Products ( int numberOfProducts ) : List

Gets a list of random products

메소드 상세

Department() 공개 정적인 메소드

Gets a random department
public static Department ( ) : string
리턴 string

Departments() 공개 정적인 메소드

Gets a list of random departments
public static Departments ( ) : List
리턴 List

Departments() 공개 정적인 메소드

Gets a list of random departments
public static Departments ( int numberOfDepartments ) : List
numberOfDepartments int Number of departments
리턴 List

Price() 공개 정적인 메소드

Gets a random price
public static Price ( decimal min, decimal max, int decimals, string symbol = "" ) : string
min decimal Minimum amount
max decimal Maximum amount
decimals int Number of decimals
symbol string Symbol to append
리턴 string

Price() 공개 정적인 메소드

Gets a random price
public static Price ( string symbol = "" ) : string
symbol string Symbol to append
리턴 string

Prices() 공개 정적인 메소드

Gets a list of random product prices
public static Prices ( string symbol = "" ) : List
symbol string Symbol to append
리턴 List

Prices() 공개 정적인 메소드

Gets a list of random product prices
public static Prices ( string symbol, int numberOfPrices = 1 ) : List
symbol string Symbol to append
numberOfPrices int Number of prices
리턴 List

Product() 공개 정적인 메소드

Gets a random product
public static Product ( ) : string
리턴 string

ProductAdjective() 공개 정적인 메소드

Gets a random product adjective
public static ProductAdjective ( ) : string
리턴 string

ProductAdjectives() 공개 정적인 메소드

Gets a list of random product adjectives
public static ProductAdjectives ( ) : List
리턴 List

ProductAdjectives() 공개 정적인 메소드

Gets a list of random product adjectives
public static ProductAdjectives ( int numberOfAdjectives ) : List
numberOfAdjectives int Number of adjectives
리턴 List

ProductMaterial() 공개 정적인 메소드

Gets a random product material
public static ProductMaterial ( ) : string
리턴 string

ProductMaterials() 공개 정적인 메소드

Gets a list of random product materials
public static ProductMaterials ( ) : List
리턴 List

ProductMaterials() 공개 정적인 메소드

Gets a list of random product materials
public static ProductMaterials ( int numberOfMaterials ) : List
numberOfMaterials int Number of materials
리턴 List

ProductName() 공개 정적인 메소드

Gets a random product name
public static ProductName ( ) : string
리턴 string

ProductNames() 공개 정적인 메소드

Gets a list of random product names
public static ProductNames ( ) : List
리턴 List

ProductNames() 공개 정적인 메소드

Gets a list of random product names
public static ProductNames ( int numberOfProductNames ) : List
numberOfProductNames int Number of names
리턴 List

Products() 공개 정적인 메소드

Gets a list of random products
public static Products ( ) : List
리턴 List

Products() 공개 정적인 메소드

Gets a list of random products
public static Products ( int numberOfProducts ) : List
numberOfProducts int Number of products
리턴 List