C# Class TheAirline.Models.General.Finances.Invoices

Inheritance: BaseModel
Afficher le fichier Open project: TheAirlineProject/tap-desktop Class Usage Examples

Private Properties

Свойство Type Description
Invoices System

Méthodes publiques

Méthode Description
AddInvoice ( Invoice invoice ) : void
AddInvoice ( Invoice type, int year, int month, int day, double amount ) : void
Contains ( Invoice type, int year, int month ) : System.Boolean
Contains ( Invoice type, int year, int month, int day ) : System.Boolean
GetAmount ( ) : double
GetAmount ( Invoice type ) : double
GetAmount ( Invoice type, int year, int month ) : double
GetAmount ( int year, int month ) : double
GetInvoiceList ( ) : List
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetYearlyAmount ( Invoice type, int year ) : double
GetYearlyAmount ( int year ) : double
Invoices ( ) : System

Private Methods

Méthode Description
Invoices ( SerializationInfo info, StreamingContext ctxt ) : System

Method Details

AddInvoice() public méthode

public AddInvoice ( Invoice invoice ) : void
invoice Invoice
Résultat void

AddInvoice() public méthode

public AddInvoice ( Invoice type, int year, int month, int day, double amount ) : void
type Invoice
year int
month int
day int
amount double
Résultat void

Contains() public méthode

public Contains ( Invoice type, int year, int month ) : System.Boolean
type Invoice
year int
month int
Résultat System.Boolean

Contains() public méthode

public Contains ( Invoice type, int year, int month, int day ) : System.Boolean
type Invoice
year int
month int
day int
Résultat System.Boolean

GetAmount() public méthode

public GetAmount ( ) : double
Résultat double

GetAmount() public méthode

public GetAmount ( Invoice type ) : double
type Invoice
Résultat double

GetAmount() public méthode

public GetAmount ( Invoice type, int year, int month ) : double
type Invoice
year int
month int
Résultat double

GetAmount() public méthode

public GetAmount ( int year, int month ) : double
year int
month int
Résultat double

GetInvoiceList() public static méthode

public static GetInvoiceList ( ) : List
Résultat List

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

GetYearlyAmount() public méthode

public GetYearlyAmount ( Invoice type, int year ) : double
type Invoice
year int
Résultat double

GetYearlyAmount() public méthode

public GetYearlyAmount ( int year ) : double
year int
Résultat double

Invoices() public méthode

public Invoices ( ) : System
Résultat System