Exemple #1
0
 private static string PrintAsnModelWithContactsAndPadding(AsnWithContactsModel model, int padding)
 => new StringBuilder()
 .AppendLine(PrintAsnModelWithPadding(model, padding))
 .AppendLine($"{new string(' ', padding)}Email Contacts: {string.Join(", ", model.EmailContacts)}")
 .AppendLine($"{new string(' ', padding)}Abuse Contacts: {string.Join(", ", model.AbuseContacts)}")
 .ToString();
Exemple #2
0
 public static string PrintAsnWithContacts(AsnWithContactsModel model)
 => PrintAsnModelWithContactsAndPadding(model, 0);