Support Enums Description Attribute

Created at 23 Apr 2020, 11:15
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