Hi everybody,

 

imagine this silly class:

 

[InterstingStuffAttribute()]

class MyComponent : IMyComponent

{
}

 

And it's registration

 

container.Register(
Component.For<IMyComponent>().ImplementedBy<MyComponent>() );

 

now I'd like to be notified, using a facility?, when the component
registration occurs in order to perform additional
registration/configuration stuff, for example base on the attribute
"InterstingStuffAttribute" applied on the component type.

 

Any idea?

TIA

.m

______________________________________________________________

Mauro Servienti | [email protected] | Microsoft MVP - Visual C# /
MCP

 

 

 

 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to