예제 #1
0
 private static void RemoveRelationArgExceptionTest(RoleByPhraseSettings rbps, int pId, int rId)
 {
     try
     {
         rbps.RemoveRelation(pId, rId);
     }
     catch (ArgumentException)
     {
         return;
     }
     Assert.Fail($"Did not throw ArgumentException for {pId} : {rId}.");
 }
 public GuildAccountSettings SetBotData(RoleByPhraseSettings roleByPhraseSettings)
 {
     RoleByPhraseSettings = roleByPhraseSettings; return(this);
 }