From f1122af3d1ef4a22f7ba65ed69451bb2abae9a94 Mon Sep 17 00:00:00 2001 From: Mohammadreza Taikandi Date: Thu, 24 Dec 2020 12:45:31 +0000 Subject: [PATCH] Update code sample. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 069ce2a..545a463 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ ![Nuget](https://img.shields.io/nuget/v/mapto?logo=nuget) ![Publish Packages](https://github.com/mrtaikandi/MapTo/workflows/Publish%20Packages/badge.svg) - - An object to object mapping generator using using [Roslyn source generator](https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.md). ## Installation @@ -21,6 +19,9 @@ public partial class UserViewModel public string FirstName { get; } public string LastName { get; } + + [IgnoreProperty] + public string FullName { get; set; } } ```