How can I do the same as DelegateTo in 2.0?

154 views
Skip to first unread message

László Bittermann

unread,
Jan 18, 2022, 7:29:57 AM1/18/22
to Spring4D
In Spring4D 2.0 the TRegistration.DeletageTo removed. How can I do the same? AsFactory /AsDefault does not take a method reference type.

Stefan Glienke

unread,
Jan 18, 2022, 7:35:09 AM1/18/22
to Spring4D
You pass the delegate directly to the RegisterType call
Reply all
Reply to author
Forward
0 new messages