Outdated code examples


Hey Guys,  

Just wanted to bring this to notice, that some of the documentation looks obsolete  depricated now. Example: https://world.episerver.com/documentation/developer-guides/commerce/marketing/custom-promotions/

Edited, Apr 30, 2019 23:54

Can you please point out where do you think is obsolete? 

Apr 30, 2019 20:47

Hi Quan, I was having a look at the promotion processor example code. While I was looking at the DLL using dot peek; I see the constructors are now different. RedemptionDescriptionFactory is all we need to use in the constructor and also there are quite a few deprecated methods (ExtractEntries, GetMaxRedemptions). 

Also, forgive my english. I meant depricated and not obsolete.

Edited, May 01, 2019 3:37

I still don't get it. There is not mention to RedemptionDescriptionFactory in the article. You should not have to worry about the constructors, if you use dependency injection properly then the IoC framework will handle that for you

May 01, 2019 21:16