[My(new Dictionary<string,object> { ... }]
或者像这样:
[My(Data = new Dictionary<string,object> {...} )]
atm我想要传递一个json字符串,然后将其转换为IDictionary< string,object>
[My(Key = "1234",Value = "1234")] [My(Key = "4234",Value = "4234")]
当你进行反思时,你可以用这种方式构建一个字典.