Skip to content

Commit 2d83f78

Browse files
committed
Update README.md
1 parent 3365be0 commit 2d83f78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ public class MyClass
6363
public string StrVal { get; set; }
6464
}
6565

66-
// Only classes where FastDeepClone() extension method should be generated
67-
// need to use [FastClonerClonable]!
66+
// [FastClonerClonable] is only required on types where you call .FastDeepClone()
6867
var original = new GenericClass<List<MyClass>> { Value = new List<MyClass> { new MyClass { StrVal = "hello world" } } };
6968
var clone = original.FastDeepClone();
7069
```
7170

72-
## Advanced usage
71+
## Advanced Usage
7372

7473
Sometimes, you might want to exclude certain fields/events/properties from cloning:
7574
```csharp

0 commit comments

Comments
 (0)