Re: IDynamicActionProvider and Windsor/IoC

2009-01-15 Thread morcs
IRepositoryFactory: Yes CrudActionProvider? Whoops! ...and I was so determined not to make a fool of myself in my first post to this group! Sorry about that, and thanks for the help! On Jan 15, 5:11 am, Mike Nichols nichols.mik...@gmail.com wrote: Hi Morcs I am sure you have already checked

Re: IDynamicActionProvider and Windsor/IoC

2009-01-15 Thread Mike Nichols
No prob. I just do this in my config: container.Register( AllTypes.FromAssembly (webAssm).BasedOnIDynamicActionProvider()); On Jan 15, 3:46 am, morcs ja...@bigjump.co.uk wrote: IRepositoryFactory: Yes CrudActionProvider?  Whoops! ...and I was so determined not to make a fool of myself in my

Register Synchronization in ATM

2009-01-15 Thread Tavo
Hi, i need to publish an event after commiting a transaction. I'm doing Something like this [Transaction] public void HandleObject(ObjectDTO dto) { MyObject myObject = GetMyObjectFromDto(dto); transactionManager.RegisterSynchronization(new MySynchronization (myObject))

Castle-Windsor Fluent Interface: How to register all implementations of all interfaces?

2009-01-15 Thread George Mauer
I have two assemblies EDC2.DAL and EDC2 where EDC2.DaoInterfaces defines a bunch of interfaces for data access objects to objects in the EDC2.Domain namespace. These are all implemented by classes in EDC2.DAL. So to give an example: Assembly EDC2 Namespace EDC2.DaoInterfaces ICustomerDao

Re: Castle-Windsor Fluent Interface: How to register all implementations of all interfaces?

2009-01-15 Thread Ayende Rahien
AllTypes.FromAssembly(foo) .Where( delegate ) On Thu, Jan 15, 2009 at 6:07 PM, George Mauer gma...@gmail.com wrote: I have two assemblies EDC2.DAL and EDC2 where EDC2.DaoInterfaces defines a bunch of interfaces for data access objects to objects in the EDC2.Domain namespace. These are all

Re: Castle-Windsor Fluent Interface: How to register all implementations of all interfaces?

2009-01-15 Thread George Mauer
Thanks for the quick response but I'm not sure that I get it. How does that register the components as implementing their interface? I would like to be able to do something like container.ResolveICustomerDao(). On Jan 15, 5:12 pm, Ayende Rahien aye...@ayende.com wrote:

Re: Castle-Windsor Fluent Interface: How to register all implementations of all interfaces?

2009-01-15 Thread George Mauer
Thanks for the answer, I finally found my answer here: http://blogger.forgottenskies.com/?p=266 On Jan 15, 5:19 pm, George Mauer gma...@gmail.com wrote: Thanks for the quick response but I'm not sure that I get it. How does that register the components as implementing their interface? I