コード例 #1
0
ファイル: Translator.cs プロジェクト: ByteNybbler/PAUtiLib
 // Translates a string using the key created by combining the translation key pieces.
 // Each piece is connected with an underscore.
 public string Translate(params string[] translationKeyPieces)
 {
     return(Translate(UtilString.Connect("_", translationKeyPieces)));
 }
コード例 #2
0
ファイル: NamedEvent.cs プロジェクト: ByteNybbler/NotTheFace
 // Returns a list of all callback descriptions.
 public string GetDescriptionList(string connector)
 {
     return(UtilString.Connect(connector, descriptions.ToArray()));
 }