当我尝试使用APN构建内容时,我看到了这个代码块.有人可以解释一下,"这个"陈述是做什么的吗?
public ApplePushService(IPushChannelFactory pushChannelFactory, ApplePushChannelSettings channelSettings)
: this(pushChannelFactory, channelSettings, default(IPushServiceSettings))
Run Code Online (Sandbox Code Playgroud)
它是否像那些参数的默认值?
当我尝试从文件反序列化对象时,它将土耳其字符(如"ğ")转换为问号.
试过这个:
JsonConvert.DeserializeObject<List<MyClass>>(json, new JsonSerializerSettings()
{ Culture = new System.Globalization.CultureInfo("tr-TR") });
Run Code Online (Sandbox Code Playgroud)
但它不起作用.有没有办法在Json.Net中更改字符编码?