Visitor pattern on chapter 4.3

Forums, software downloads and discussions. THIS IS WHERE YOU HAVE TO FIND HOW TO REGISTER IN ORDER TO GET THE C# SOURCE CODE ACCOMPANYING THE BOOK. ONCE REGISTERED YOU WILL BE ADMITTED TO ANOTHER FORUM ("C# for Financial Markets Download Centre") WHERE YOU CAN DOWNLOAD THE CODE AND THE "HOW TO" INSTALLATION DOCUMENT.

Visitor pattern on chapter 4.3

Postby claudio.oami » Tue Aug 05, 2014 10:12 am

I've been studying the code you provide on chapter 4.3 where you explain the usage of the Visitor design pattern
and it looks like there is a mistake there (page 61)

static void Main()
.....
bv.Visit(vasicek);


acording to your previous explanations on the Visitor pattern I reckon that it should read:

vasicek.Accept(bv);

am I right or did I misunderstood something?
claudio.oami
 
Posts: 1
Joined: Mon Aug 04, 2014 5:17 pm

Return to Official Site C# in Financial Markets (Duffy/Germani)

Who is online

Users browsing this forum: No registered users and 1 guest

cron