コンポーネントモデルへの影響に関して、以下の間に実際的な違いはありますか?
class MyComponent : Component {
public MyComponent() {
InitializeComponent();
}
public MyComponent(IContainer container) {
container.Add(this);
InitializeComponent();
}
}
と:
class MyComponent : Component {
public MyComponent() {
InitializeComponent();
}
public MyComponent(IContainer container) : this() {
container.Add(this);
}
}
そうでない場合、なぜ Microsoft はデザイナーが生成したコードに最初の方法を選んだのでしょうか?
編集:つまり、コンポーネントの初期化とコンテナへの追加の間に順序の変更に対する副作用はありますか?