Is there a way to use expression as a key in the Dictionary? The value of this expression would be a value from the other dictionary.
Im looking for something like
<object id="meta-naming-configurator" singleton="true"
type="System.Collections.Generic.Dictionary<string, string>, mscorlib">
<constructor-arg>
<dictionary key-type="string" value-type="string">
<entry key="assets" value="other_asset"/>
</dictionary>
</constructor-arg>
</object>
<object id="table-matrics-key"
singleton="true"
type="System.Collections.Generic.Dictionary<string, ListString>, mscorlib"
depends-on="meta-naming-configurator">
<constructor-arg>
<dictionary key-type="string" value-type="ListString">
<entry key="@(meta-naming-configurator)['assets']" value-ref="assets-tables-list"/>
</dictionary>
</constructor-arg>
</object>
..but working.
Thanks