Skip to content

Commit ecc5ca7

Browse files
committed
Documentation update
1 parent 12960f1 commit ecc5ca7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ObjDiff
2+
23
[![Build](https://github.com/igece/ObjDiff/actions/workflows/CI_build.yml/badge.svg)](https://github.com/igece/ObjDiff/actions/workflows/CI_build.yml)
34
[![Tests](https://github.com/igece/ObjDiff/actions/workflows/CI_Tests.yml/badge.svg)](https://github.com/igece/ObjDiff/actions/workflows/CI_Tests.yml)
45

@@ -107,3 +108,15 @@ Once we have the differences between two objects, we can apply them (patch) to t
107108
object1.Patch(differences);
108109
Assert.Equal(object1, object2);
109110
```
111+
112+
Both `Diff` and `Patch` operations can be executed through a simple call:
113+
114+
``` csharp
115+
ObjDiff.MakeEqual(object1, object2);
116+
```
117+
118+
Or using `MakeEqualTo` extension method:
119+
120+
``` csharp
121+
object1.MakeEqualTo(object2);
122+
```

0 commit comments

Comments
 (0)