C# Класс TheAirline.Models.General.Finances.Invoices

Наследование: BaseModel
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Invoices System

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

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

Приватные методы

Метод Описание
Invoices ( SerializationInfo info, StreamingContext ctxt ) : System

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

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

public AddInvoice ( Invoice invoice ) : void
invoice Invoice
Результат void

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

public AddInvoice ( Invoice type, int year, int month, int day, double amount ) : void
type Invoice
year int
month int
day int
amount double
Результат void

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

public Contains ( Invoice type, int year, int month ) : System.Boolean
type Invoice
year int
month int
Результат System.Boolean

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

public Contains ( Invoice type, int year, int month, int day ) : System.Boolean
type Invoice
year int
month int
day int
Результат System.Boolean

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

public GetAmount ( ) : double
Результат double

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

public GetAmount ( Invoice type ) : double
type Invoice
Результат double

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

public GetAmount ( Invoice type, int year, int month ) : double
type Invoice
year int
month int
Результат double

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

public GetAmount ( int year, int month ) : double
year int
month int
Результат double

GetInvoiceList() публичный статический Метод

public static GetInvoiceList ( ) : List
Результат List

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

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Результат void

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

public GetYearlyAmount ( Invoice type, int year ) : double
type Invoice
year int
Результат double

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

public GetYearlyAmount ( int year ) : double
year int
Результат double

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

public Invoices ( ) : System
Результат System