You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PocketBook/Sources/Stub/Mapper.cs

25 lines
672 B

using System;
using static System.Collections.Specialized.BitVector32;
using System.Numerics;
using Utils;
using Model;
using LibraryDTO;
namespace Stub
{
static class Mapper
{
internal static Mapper<Author, AuthorDTO> AuthorsMapper { get; } =
new Mapper<Author, AuthorDTO>();
internal static Mapper<Work, WorkDTO> WorksMapper { get; } = new Mapper<Work, WorkDTO>();
internal static Mapper<Book, BookDTO> BooksMapper { get; } = new Mapper<Book, BookDTO>();
internal static void Reset()
{
AuthorsMapper.Reset();
WorksMapper.Reset();
BooksMapper.Reset();
}
}
}