Is it possible for windsor to implement a generic typed factory at the 
method level (option2) instead of the interface level (option1).

Option1
public interface IObjectFactory<T> where T: class
{
T Get();
void Release(T obj);
}

Option2
public interface IObjectFactory
{
T Get<T>;
void Release<T>(T obj);
}

If so, what are the pros/cons of each?  When is one more appropriate than 
the other?


thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to