The Bitter Coder Tutorials, Binsor Style: Part IX, Constructor Injection

Thu, Aug 21, 2008 One-minute read

Previous posts in the series:

Here’s the interface Alex defines;

to: hammett from: ruprict@wordpress.com

GOWZIQ EOIME YQ KICROSOFQ?

So, what if we want to send an unencrypted message?  Well, we can specify which IEncoder component to wire to our sender, like so:

to: hammett from: ruprict@wordpress.com

Howzit going at Microsoft?

(I bet he’s doing great…)

Setter injection…coming up!