C# Класс Wrox.ProCSharp.JupiterBank.CurrentAccount

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

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

Метод Описание
PayIn ( decimal amount ) : void
ToString ( ) : string
TransferTo ( IBankAccount destination, decimal amount ) : bool
Withdraw ( decimal amount ) : bool

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

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

public PayIn ( decimal amount ) : void
amount decimal
Результат void

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

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

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

public TransferTo ( IBankAccount destination, decimal amount ) : bool
destination IBankAccount
amount decimal
Результат bool

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

public Withdraw ( decimal amount ) : bool
amount decimal
Результат bool