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