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" 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)?