cheers
If you need more details have a look at the docs:
http://docs.castleproject.org/Windsor.Inline-Dependencies.ashx
and feel free to update them if something is not clear or missing :)
--
Krzysztof Kozmic
On Wednesday, 16 January 2013 at 1:53 PM, Scott_M wrote:
> Thanks Krzysztof!
>
>
>
> scott
>
> On Tuesday, January 15, 2013 9:51:10 PM UTC-6, Krzysztof Koźmic wrote:
> > .DependsOn(Dependency.OnParameter("dateTimeFormat", "MM/dd/yyyy hh:mm:ss
> > K"))
> >
> > --
> > Krzysztof Kozmic
> >
> >
> > On Wednesday, 16 January 2013 at 1:41 PM, Scott_M wrote:
> >
> > > I am trying to take an existing XML based component registration and
> > > write an equivalent code based installer. The xml registration looks
> > > something like this:
> > >
> > > <component id="HorizontalLogEntryFormatter" lifestyle="transient"
> > > service="Acme.Kernel.Logging.Int.IHorizontalLogEntryFormatter,
> > > Acme.Kernel.Logging.Int (http://Acme.Kernel.Logging.Int)"
> > > type="Acme.Kernel.Logging.Impl.HorizontalLogEntryFormatter,
> > > Acme.Kernel.Logging.Impl">
> > > <parameters>
> > > <dateTimeFormat>MM/dd/yyyy hh:mm:ss K</dateTimeFormat>
> > > </parameters>
> > > </component>
> > >
> > >
> > > How do you write this registration in c# code (specifically, the
> > > dateTimeFormat parameters)?
> > >
> > >
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Castle Project Users" group.
> > > To view this discussion on the web visit
> > > https://groups.google.com/d/msg/castle-project-users/-/SLuR2iBU1okJ.
> > > To post to this group, send email to [email protected]
> > > (javascript:).
> > > To unsubscribe from this group, send email to
> > > [email protected] (javascript:).
> > > 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 view this discussion on the web visit
> https://groups.google.com/d/msg/castle-project-users/-/KSzGgiYh9PIJ.
> 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].
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.