Qvaq

Search for Groups

Create New Group

Hot Groups

New Groups

Recently Active Groups

Dependency Injection (Swedish)

Dependency Injection_swe

Group Members (4)

Bild
murtlest
i tyresö
Bild
skanaar
www.nomnoml.com
Bild
gee_fss
Huge
Bild
comfort
No status set

skanaar 2009-06-03, 15:34

Men om vi gör om det så här:
class ImageCreator {

 Create(FileSystem fs, int w, int h){

   File file = fs.CreateFile(w*h);

   return new Image(file, w,h);

 }

}

By skanaar in Dependency Injection_swe on 2009-06-03 15:34:54.