コード例 #1
0
 public void Merge(Joined other)
 {
     if (MF == null)
     {
         MF = other.MF;
     }
     if (SLR == null)
     {
         SLR = other.SLR;
     }
     if (LB == null)
     {
         LB = other.LB;
     }
     if (SBC == null || !SBC.Any())
     {
         SBC = other.SBC;
     }
     if (Receipt == null)
     {
         Receipt = other.Receipt;
     }
 }
コード例 #2
0
 public bool IsEmpty() => MF == null && SLR == null && LB == null && (SBC == null || !SBC.Any());