/// <summary> /// Gets the name of the quality. /// </summary> /// <param name="quality">The quality.</param> /// <returns></returns> public static string GetQualityName(string quality) { int counter = 0; foreach (string val in _quality) { if (val == quality) { break; } counter++; } return(QualityHelper.GetQualityName((Quality)counter)); }
/// <summary> /// Gets the name of the quality. /// </summary> /// <param name="quality">The quality.</param> /// <returns></returns> public static string GetQualityName(int quality) { return(QualityHelper.GetQualityName((Quality)quality)); }