Object.factory create instance failed?
John C
johnch_atms at hotmail.com
Fri Jun 26 02:10:41 PDT 2009
Sam Hu Wrote:
> John C Wrote:
>
> > Object.factory requires a fully qualified class name, so if class Dog resides in module animals, call Object.factory("animals.Dog").
>
> It works now.Great!Thanks so much!
>
> But...may I ask how do you know that?(requires full name).I went through the object.di but nothing relative found.
>
Common sense, to be honest.
More information about the Digitalmars-d-learn
mailing list