File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ TestPropsWithIgnored clone = original.DeepClone(); // clone.B is null (default v
5454
5555You might also need to exclude certain types from being cloned ever. To do that, put offending types on a blacklist:
5656``` cs
57- FastCloner .IgnoreType (typeof (PropertyChangedEventHandler )); // or FastCloner.IgnoreTypes([ .. ])
57+ FastCloner .FastCloner . IgnoreType (typeof (PropertyChangedEventHandler )); // or FastCloner. FastCloner.IgnoreTypes([ .. ])
5858```
5959
6060If needed, the types can be removed from the blacklist later:
6161``` cs
6262// note: doing this invalidates precompiled expressions and clears the cache,
6363// performance will be negatively affected until the cache is repopulated
64- FastCloner .ClearIgnoredTypes ();
64+ FastCloner .FastCloner . ClearIgnoredTypes ();
6565```
6666
6767Apart from deep cloning, FastCloner supports shallow cloning and deep cloning _ to_ target:
You can’t perform that action at this time.
0 commit comments