C# Class Phonebook.Command.AddPhoneCommand

Inheritance: IPhoneBookCommand
Show file Open project: nzhul/TelerikAcademy

Public Methods

Method Description
AddPhoneCommand ( IPhonebookRepository data, IPrinter printer, IPhoneNumberSanitizer sanitizer ) : System
Execute ( string arguments ) : void

Method Details

AddPhoneCommand() public method

public AddPhoneCommand ( IPhonebookRepository data, IPrinter printer, IPhoneNumberSanitizer sanitizer ) : System
data IPhonebookRepository
printer IPrinter
sanitizer IPhoneNumberSanitizer
return System

Execute() public method

public Execute ( string arguments ) : void
arguments string
return void