C# Class TheAirline.Models.Airliners.ManufacturerContract

Inheritance: BaseModel
显示文件 Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Property Type Description
ManufacturerContract System

Public Methods

Method Description
GetDiscount ( ) : double
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetTerminationFee ( ) : double
ManufacturerContract ( Manufacturer manufacturer, System.DateTime date, int length, double discount ) : System

Private Methods

Method Description
ManufacturerContract ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

GetDiscount() public method

public GetDiscount ( ) : double
return double

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetTerminationFee() public method

public GetTerminationFee ( ) : double
return double

ManufacturerContract() public method

public ManufacturerContract ( Manufacturer manufacturer, System.DateTime date, int length, double discount ) : System
manufacturer Manufacturer
date System.DateTime
length int
discount double
return System