コード例 #1
0
 /// <summary>
 /// Initialize and instantiate private fields that are not controllers, commands, or error token (these are initialized in other methods)
 /// </summary>
 private void initializePrivateFields()
 {
     this.equipageModel    = EquipageModel.Instance;
     this.equipageFilePath = string.Empty;
     this.systems          = new ObservableCollection <AFSLSystem>(this.equipageModel.AcquireEquipage().Fleet);
     this.selectedSystem   = null;
     this.isInEditMode     = false;
 }
コード例 #2
0
 /// <summary>
 /// Obtain necessary controllers from appropriate sources (for example: global data providers or a factory)
 /// </summary>
 private void acquireControllers()
 {
     this.manager = EquipageModel.Instance;
 }