Skip to content

Commit 7928b1c

Browse files
Merge pull request #21 from Green7/patch-3
correct ShouldIgnoreMember parameter type
2 parents 5834cba + 4093272 commit 7928b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vnext/content/catel-core/serialization/customizing-serialization/customizing-serialization-engines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To customize a serializer, derive from an existing class and customize a method.
1414
```
1515
public class SafeXmlSerializer : XmlSerializer
1616
{
17-
protected override bool ShouldIgnoreMember(ModelBase model, PropertyData property)
17+
protected override bool ShouldIgnoreMember(object model, PropertyData property)
1818
{
1919
if (model is SecurityModel)
2020
{

0 commit comments

Comments
 (0)