C# Class Faker.Commerce

Afficher le fichier Open project: FermJacob/Faker.Data

Méthodes publiques

Méthode Description
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

Method Details

Department() public static méthode

Gets a random department
public static Department ( ) : string
Résultat string

Departments() public static méthode

Gets a list of random departments
public static Departments ( ) : List
Résultat List

Departments() public static méthode

Gets a list of random departments
public static Departments ( int numberOfDepartments ) : List
numberOfDepartments int Number of departments
Résultat List

Price() public static méthode

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
Résultat string

Price() public static méthode

Gets a random price
public static Price ( string symbol = "" ) : string
symbol string Symbol to append
Résultat string

Prices() public static méthode

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

Prices() public static méthode

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
Résultat List

Product() public static méthode

Gets a random product
public static Product ( ) : string
Résultat string

ProductAdjective() public static méthode

Gets a random product adjective
public static ProductAdjective ( ) : string
Résultat string

ProductAdjectives() public static méthode

Gets a list of random product adjectives
public static ProductAdjectives ( ) : List
Résultat List

ProductAdjectives() public static méthode

Gets a list of random product adjectives
public static ProductAdjectives ( int numberOfAdjectives ) : List
numberOfAdjectives int Number of adjectives
Résultat List

ProductMaterial() public static méthode

Gets a random product material
public static ProductMaterial ( ) : string
Résultat string

ProductMaterials() public static méthode

Gets a list of random product materials
public static ProductMaterials ( ) : List
Résultat List

ProductMaterials() public static méthode

Gets a list of random product materials
public static ProductMaterials ( int numberOfMaterials ) : List
numberOfMaterials int Number of materials
Résultat List

ProductName() public static méthode

Gets a random product name
public static ProductName ( ) : string
Résultat string

ProductNames() public static méthode

Gets a list of random product names
public static ProductNames ( ) : List
Résultat List

ProductNames() public static méthode

Gets a list of random product names
public static ProductNames ( int numberOfProductNames ) : List
numberOfProductNames int Number of names
Résultat List

Products() public static méthode

Gets a list of random products
public static Products ( ) : List
Résultat List

Products() public static méthode

Gets a list of random products
public static Products ( int numberOfProducts ) : List
numberOfProducts int Number of products
Résultat List