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
contentLines
IReadOnlyCollection<string>the collection of content lines
length
intThe string-length of the extract.
logger
ILoggerthe ILogger
Returns
ConvertToLines(string?)
Converts the specified string into Publication lines.
public static IReadOnlyCollection<string> ConvertToLines(string? content)