コード例 #1
0
        public void AddQuickTest()
        {
            VerifyDoesntExist();
            bool value = GunSmiths.Add(_databasePath, _gunSmithName, out _errOut);

            General.HasTrueValue(value, _errOut);
        }
コード例 #2
0
 /// <summary>
 /// Verifies the exists.
 /// </summary>
 private void VerifyExists()
 {
     if (!GunSmiths.Exists(_databasePath, _gunSmithName, out _errOut))
     {
         bool value = GunSmiths.Add(_databasePath, _gunSmithName, out _errOut);
     }
 }