I am trying to use TypedFactoryFacility to resolve a component which
has decorated implementations, something like the model below. The
parameter 'IRuntimeParameter' does not get forwarded to the
'inner' (decorated) component so it can't be resolved.
Is there a way I can leverage some kind of
ITypedFactoryComponentSelector to forward these parameters into the
decorated component?
Thanks for this awesome little tool. I use this extensively.
:::SAMPLE MODEL::::
public class AWrappingService : ISomeService{
public AWrappingService(ISomeService inner,IRuntimeParameter
someParameter) { ... }
}
public class DefaultService : ISomeService {
public DefaultService(IRuntimeParameter someParameter) { ... }
}
public interface ISomeServiceFactory {
ISomeService Create(IRuntimeParameter someParameter);
}
--
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.