C# Class ProgressiveBuilder.ProductBuilder

Inheritance: IPreProductNameBuilder, IPostProductNameBuilder, IPostProductManufacturerBuilder
Show file Open project: KennyBu/DesignPatternTests

Private Properties

Property Type Description
Build Product

Public Methods

Method Description
Costs ( double cost ) : IPostProductManufacturerBuilder
CreateProduct ( ) : IPreProductNameBuilder
ManufacturedBy ( string manufacturer ) : IPostProductManufacturerBuilder
Named ( string name ) : IPostProductNameBuilder
Priced ( double price ) : Product

Private Methods

Method Description
Build ( ) : Product

Method Details

Costs() public method

public Costs ( double cost ) : IPostProductManufacturerBuilder
cost double
return IPostProductManufacturerBuilder

CreateProduct() public static method

public static CreateProduct ( ) : IPreProductNameBuilder
return IPreProductNameBuilder

ManufacturedBy() public method

public ManufacturedBy ( string manufacturer ) : IPostProductManufacturerBuilder
manufacturer string
return IPostProductManufacturerBuilder

Named() public method

public Named ( string name ) : IPostProductNameBuilder
name string
return IPostProductNameBuilder

Priced() public method

public Priced ( double price ) : Product
price double
return Product