C# Класс Acme.Biz.Vendor

Manages the vendors from whom we purchase our inventory.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

PlaceOrder() публичный Метод

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.
Результат Acme.Common.OperationResult

SendWelcomeEmail() публичный Метод

Sends an email to welcome a new vendor.
public SendWelcomeEmail ( string message ) : string
message string
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string