Module Dependencies - String Literals

Dec 12, 2008 at 12:50 AM
I was wondering why the choice was made to use strings to specify module dependencies rather than using types.



typeof (MarketModule))



typeof (NewsModule))



typeof (WatchModule), "MarketModule")



typeof (PositionModule), "MarketModule", "NewsModule");

-- I would think that it would make more sense to pass in types for your depencies to gain the benefit of compiile time type checking.