mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 12:11:10 +00:00
Adds editorconfig and refactors to the established rules
This commit is contained in:
1 parent
712a0f2b27
commit
cd44f11d9e
138 files changed
+1799
-1629
No files matched your search
+2
-2
@@ -108,7 +108,7 @@ public class BookMappingConfig : IRegister
|
||||
Optional<BookFormat>.FromNullable(!string.IsNullOrWhiteSpace(src.Format) ? Enum.Parse<BookFormat>(src.Format) : default),
|
||||
Optional<string>.FromNullable(src.Edition),
|
||||
Optional<int>.FromNullable(src.VolumeNumber),
|
||||
Optional<BookSeries>.None(),
|
||||
Optional<BookSeries>.None(),
|
||||
Optional<string>.FromNullable(src.ASIN),
|
||||
Optional<string>.FromNullable(src.GoodreadsId),
|
||||
Optional<string>.FromNullable(src.LCCN),
|
||||
@@ -121,7 +121,7 @@ public class BookMappingConfig : IRegister
|
||||
src.Created,
|
||||
Optional<DateTime>.FromNullable(src.Updated),
|
||||
src.ISBNs.Select(i => Isbn.Create(i.Value!, i.Format ?? default).Value).ToList(),
|
||||
new List<MediaContributorId>(),
|
||||
new List<MediaContributorId>(),
|
||||
src.Ratings.Select(r => BookRating.Create(
|
||||
r.Value ?? default,
|
||||
r.MaxValue ?? default,
|
||||
|
||||
Reference in new issue
Block a user