예제 #1
0
 private string AddCallByName(string originalText, string username)
 {
     if (!string.IsNullOrEmpty(username) && (KorraModelHelper.GetChance(3))) //33% chance to use the name
     {
         return(KorraModelHelper.FirstCharToUpper(username) + ", " + KorraModelHelper.FirstCharToLower(originalText));
     }
     else
     {
         return(originalText);
     }
 }