thanks,
is
http://docs.castleproject.org/How-to-submit-a-fix-to-any-Castle-Project.ashx
of any help?
Krzysztof
On 28/06/2011 10:17 AM, Germán Schuager wrote:
Done: http://issues.castleproject.org/issue/IOC-300
I have a working fix for this issue, but currently I'm strugling with
git to create a pull request.
Regards.
2011/6/27 Krzysztof Koźmic <[email protected]
<mailto:[email protected]>>
sounds like a bug.
please log it.
cheers,
Krzysztof
On 28/06/2011 1:13 AM, Germán Schuager wrote:
Hi, am I missing something or Windsor's OnCreate registration is
not working for generic components?
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer();
container.Register(Component.For(typeof (NonGenericComponent))
.OnCreate((k, r) => Console.WriteLine("this works")));
container.Register(Component.For(typeof (GenericComponent<>))
.OnCreate((k, r) => Console.WriteLine("this doesn't work")));
var x = container.Resolve<NonGenericComponent>();
var y = container.Resolve<GenericComponent<int>>();
}
}
public class NonGenericComponent
{
}
public class GenericComponent<T>
{
}
--
You received this message because you are subscribed to the
Google Groups "Castle Project Users" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:[email protected]>.
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Castle Project Users" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:castle-project-users%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Castle Project Users" group.
To post to this group, send email to
[email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "Castle
Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.