コード例 #1
0
 /// <summary>
 ///     Checks the condition, and if not empty returns the second parameter else the third.
 /// </summary>
 /// <param name="condition">The condition.</param>
 /// <param name="value0">The value returned if the condition is not empty.</param>
 /// <param name="value1">The value returned if the condition is empty.</param>
 /// <returns>The conditional string.</returns>
 private static string Cond(string condition, string value0, string value1)
 {
     return(GenUtilities.Cond(condition, value0, value1));
 }