Hello ,
I would like to inject stuff into readonly properties.
For example , the Controls collection of a windows forms.
This is a readonly list. what i would like to do is something like :
<component id="...." type="...">
<parameters>
<Controls>
<list>
<item>
<textBox>
<Text>.....</Text>
<DataBindings>
<binding>
<propertyName>Text</
propertyName>
<dataSource>Entity</
dataSource>
<dataMember>Name</dataMember>
</binding>
</DataBindings>
</textBox>
</item>
<item>
<checkBox>
<Text>a checkbox</Text>
<Checked>true</Checked>
<Location>100,100</Location>
</checkBox>
</item>
.................
I played with Castle , and almost made it but I had to write a custom
component activator, a type converter, a sub dependency resolver and a
model contributor.
Is there an easier way ?
Can you please point me in the right direction ?
Bogdan
Also , the
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---