Support Enums Description Attribute

Created at 23 Apr 2020, 11:15
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
afhacker's avatar

afhacker

Joined 15.10.2015

Support Enums Description Attribute
23 Apr 2020, 11:15


First of all thanks for adding enum parameter types, but something is missing, the support for description attribute.

It's very common to use enum description attribute in WPF, as you can't have an enum value with space.

    public enum OrderCancelType
    {
        Buy,
        Sell,
        Limit,
        Stop,
        [Description("Stop Limit")]
        StopLimit,
    }

 


cTrader Automate
@afhacker