コード例 #1
0
 private bool PrivateCanRunMain()
 {
     if (!CanRunMainMethod())
     {
         return(false);
     }
     MainMethodCmd.SetLabel(MainMethodCmdLabel);
     return(true);
 }
コード例 #2
0
 protected bool CantDo(string whyNot)
 {
     MainMethodCmd.SetLabel($"{MainMethodCmdLabel} -- {whyNot}");
     return(false);
 }