We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb4663 commit 1dcf5ebCopy full SHA for 1dcf5eb
src/Ordering/Ordering.Application/Mapper/OrderMapper.cs
@@ -3,7 +3,7 @@
3
4
namespace Ordering.Application.Mapper
5
{
6
- // The best implementation of AutoMapper for class libraries -> https://www.abhith.net/blog/using-automapper-in-a-net-core-class-library/
+ // Implementation of AutoMapper for class libraries -> https://www.abhith.net/blog/using-automapper-in-a-net-core-class-library/
7
public static class OrderMapper
8
9
private static readonly Lazy<IMapper> Lazy = new Lazy<IMapper>(() =>
@@ -17,6 +17,7 @@ public static class OrderMapper
17
var mapper = config.CreateMapper();
18
return mapper;
19
});
20
+
21
public static IMapper Mapper => Lazy.Value;
- }
22
+ }
23
}
0 commit comments