C# Class FacadePattern.BankAccountFacade

Afficher le fichier Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Méthodes publiques

Méthode Description
BankAccountFacade ( int accountNumber, int newSecurityCode ) : System.Collections
DepositCash ( double cash ) : void
GetAccountNumber ( ) : int
GetSecurityCode ( ) : int
WithdrawCash ( double cash ) : void

Method Details

BankAccountFacade() public méthode

public BankAccountFacade ( int accountNumber, int newSecurityCode ) : System.Collections
accountNumber int
newSecurityCode int
Résultat System.Collections

DepositCash() public méthode

public DepositCash ( double cash ) : void
cash double
Résultat void

GetAccountNumber() public méthode

public GetAccountNumber ( ) : int
Résultat int

GetSecurityCode() public méthode

public GetSecurityCode ( ) : int
Résultat int

WithdrawCash() public méthode

public WithdrawCash ( double cash ) : void
cash double
Résultat void