Class PublicationLinesUtility
- Namespace
- Songhay.Publications
- Assembly
- Songhay.Publications.dll
Shared routines for Publication Lines.
public static class PublicationLinesUtility
- Inheritance
-
PublicationLinesUtility
- Inherited Members
Methods
ConvertToExtract(IReadOnlyCollection<string>?, int, ILogger)
Converts the specified content lines to a Publications extract.
public static string? ConvertToExtract(IReadOnlyCollection<string>? contentLines, int length, ILogger logger)
Parameters
contentLinesIReadOnlyCollection<string>the collection of content lines
lengthintThe string-length of the extract.
loggerILoggerthe ILogger
Returns
ConvertToLines(string?)
Converts the specified string into Publication lines.
public static IReadOnlyCollection<string> ConvertToLines(string? content)