Exemple #1
0
 private void CheckCode()
 {
     if (Check == null)
     {
         return;
     }
     if (Check())
     {
         OnCheckPass.Fire(true);
     }
 }
Exemple #2
0
        private void CheckCode()
        {
            if (!_psiFiles.AllDocumentsAreCommitted)
            {
                return;
            }

            if (Check == null)
            {
                return;
            }
            if (Check())
            {
                OnCheckPass.Fire(true);
            }
        }