C# Class Acme.Biz.Vendor

Manages the vendors from whom we purchase our inventory.
Afficher le fichier Open project: DeborahK/CSharpBP-Collections Class Usage Examples

Méthodes publiques

Méthode Description
PlaceOrder ( Product product, int quantity, DateTimeOffset deliverBy = null, string instructions = "standard delivery" ) : Acme.Common.OperationResult

Sends a product order to the vendor.

SendWelcomeEmail ( string message ) : string

Sends an email to welcome a new vendor.

ToString ( ) : string

Method Details

PlaceOrder() public méthode

Sends a product order to the vendor.
public PlaceOrder ( Product product, int quantity, DateTimeOffset deliverBy = null, string instructions = "standard delivery" ) : Acme.Common.OperationResult
product Product Product to order.
quantity int Quantity of the product to order.
deliverBy DateTimeOffset Requested delivery date.
instructions string Delivery instructions.
Résultat Acme.Common.OperationResult

SendWelcomeEmail() public méthode

Sends an email to welcome a new vendor.
public SendWelcomeEmail ( string message ) : string
message string
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string