1
0

chore: initial commit

Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
2025-07-21 13:43:39 -04:00
commit 90d7bdcd21
37 changed files with 2647 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
//HintName: MapperSourceGen.SourceGenerator.Tests.MyEntityDto.g.cs
// <auto-generated/>
#pragma warning disable
#nullable enable
namespace MapperSourceGen.SourceGenerator.Tests
{
/// <inheritdoc/>
internal partial class MyEntityDto
{
public int Id { get; set; }
}
}

View File

@@ -0,0 +1,28 @@
//HintName: MapperSourceGen.SourceGenerator.Tests.MyEntityMapper.g.cs
// <auto-generated/>
#pragma warning disable
#nullable enable
namespace MapperSourceGen.SourceGenerator.Tests
{
/// <inheritdoc/>
internal partial class MyEntityMapper
{
public static MapperSourceGen.SourceGenerator.Tests.MyEntity ToModel(MapperSourceGen.SourceGenerator.Tests.MyEntityDto source)
{
ArgumentNullException.ThrowIfNull(nameof(source));
return new MapperSourceGen.SourceGenerator.Tests.MyEntity()
{
Id = source.Id,
};
}
public static MapperSourceGen.SourceGenerator.Tests.MyEntityDto ToDto(MapperSourceGen.SourceGenerator.Tests.MyEntity source)
{
ArgumentNullException.ThrowIfNull(nameof(source));
return new MapperSourceGen.SourceGenerator.Tests.MyEntityDto()
{
Id = source.Id,
};
}
}
}