因此,我在设置中添加了一个OrderedDictionary。我使用控件的类型名称作为键,节点的路径作为值。由于无法为该词典设置默认值,所以我使用了以下技巧:public OrderedDictionary Paths get return(LastsPaths = new OrderedDictionary()); set this["LastsPaths"] = value;
}global::
我试图从OrderedDictionary中使用,当我试图将字典转换为OrderedDictionary时,我得到了以下错误。Cannot convert value of type '[String : Double]' to specified type 'OrderedDictionary<Key, Value>'
let sortedDict: OrderedDictionary<String, Do