我看到這個代碼塊,當我試圖用APN構建東西。有人能解釋一下,「這個」陳述在那裏做什麼?構造函數的參數後的這個聲明
public ApplePushService(IPushChannelFactory pushChannelFactory, ApplePushChannelSettings channelSettings)
: this(pushChannelFactory, channelSettings, default(IPushServiceSettings))
它是否像這些參數的默認值?
@dasblinkenlight雖然它的相關,這不是這個問題重複只要意圖。 – nawfal
另請參閱http://stackoverflow.com/questions/3797528/base-and-this-constructors-best-practices – nawfal