C# Class Phonebook.CommandFactoryWithLazyLoading

Inheritance: ICommandFactory
Datei anzeigen Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method Description
CommandFactoryWithLazyLoading ( IPhonebookRepository data, IPrinter printer, IPhoneNumberSanitizer sanitizer ) : Phonebook.Command
CreateCommand ( string commandName, int argumentsCount ) : IPhonebookCommand

Method Details

CommandFactoryWithLazyLoading() public method

public CommandFactoryWithLazyLoading ( IPhonebookRepository data, IPrinter printer, IPhoneNumberSanitizer sanitizer ) : Phonebook.Command
data IPhonebookRepository
printer IPrinter
sanitizer IPhoneNumberSanitizer
return Phonebook.Command

CreateCommand() public method

public CreateCommand ( string commandName, int argumentsCount ) : IPhonebookCommand
commandName string
argumentsCount int
return IPhonebookCommand