コード例 #1
0
 private static void ensureRoverIsDeployed(IRover rover)
 {
     if (!rover.IsDeployed())
     {
         throw new ReportException("Cannot create report because one or more rovers are not deployed");
     }
 }
コード例 #2
0
 private static void ensureRoverIsDeployed(IRover rover)
 {
     if(!rover.IsDeployed())
     {
         throw new ReportException("Cannot create report because one or more rovers are not deployed");
     }
 }