Oliver Booth
cbfdefae71
This change separates the project logo and details into separate pages and makes the list more visually striking.
13 lines
359 B
C#
13 lines
359 B
C#
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
namespace OliverBooth.Data;
|
|
|
|
internal sealed class StringListConverter : ValueConverter<IReadOnlyList<string>, string>
|
|
{
|
|
public StringListConverter(char separator = ' ') :
|
|
base(v => string.Join(separator, v),
|
|
s => s.Split(separator, StringSplitOptions.None))
|
|
{
|
|
}
|
|
}
|