Inherited Parameter Attributes
Inherited Parameter Attributes
29 Jun 2021, 12:58
Hi All,
I have a lot of boilerplate code that will be repeated across various robots. I'm trying to build an abstract class that inherits from Robot, add the boilerplate code there, and then inherit from that abstract class in the Automate Template rather than inheriting from Robot.
This all works fine except that the properties defined with Parameter attribute in the abstract class don't appear in the UI Parameters panel when inherited. I believe attributes should be inherited in C# so I'm not sure if this is a limitation of the Automate UI implementation.
Can someone confirm this should or shouldn't work? It's going to be a real pain if it doesn't.
Cheers
Chris
Replies
kris392001
30 Jun 2021, 10:13
Thanks for the prompt Panagiotis, this is good news :). Is there a roadmap/schedule for cTrader Desktop version releases?
On a side note are there any plans for an Optimisation API to allow runtime optimisation?
Cheers
Chris
@kris392001
PanagiotisCharalampous
29 Jun 2021, 16:04
Hi Chris,
This option will be available in cTrader Desktop 4.2.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous