Created
December 12, 2023 14:49
-
-
Save cbrevik/6593d658e91122909eb250071231052b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <auto-generated /> | |
#nullable enable | |
namespace mapperly_repro | |
{ | |
public static partial class Mapper | |
{ | |
public static partial global::mapperly_repro.ModelA Map(this global::mapperly_repro.ModelB modelB) | |
{ | |
var target = new global::mapperly_repro.ModelA(); | |
target.SetId(modelB.Id); | |
return target; | |
} | |
} | |
static file class UnsafeAccessor | |
{ | |
[global::System.Runtime.CompilerServices.UnsafeAccessor(global::System.Runtime.CompilerServices.UnsafeAccessorKind.Method, Name = "set_Id")] | |
public static extern void SetId(this global::mapperly_repro.ModelA target, int value); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment