예제 #1
0
 internal void UpdateAdmiral(RawBasic rpAdmiral)
 {
     if (Admiral == null)
         Admiral = new Admiral(rpAdmiral);
     else
         Admiral.Update(rpAdmiral);
 }
예제 #2
0
 internal void UpdateAdmiral(RawBasic rpAdmiral)
 {
     if (Admiral != null)
         Admiral.Update(rpAdmiral);
     else
     {
         Admiral = new Admiral(rpAdmiral);
         OnPropertyChanged(nameof(Admiral));
     }
 }