C# 클래스 Acme.Biz.Vendor

Manages the vendors from whom we purchase our inventory.
파일 보기 프로젝트 열기: DeborahK/CSharpBP-Collections 1 사용 예제들

공개 메소드들

메소드 설명
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