コード例 #1
0
 private static string GetLocalizedDescription(CommandLineAttribute attribute, LocalizableStrings resourceManager)
 => attribute.LocalizableDescription != null && !string.IsNullOrWhiteSpace(attribute.LocalizableDescription)
         ? resourceManager.GetString(attribute.LocalizableDescription, CultureInfo.CurrentUICulture) ?? ""
         : attribute.Description ?? "";