Skip to content

Commit

Permalink
Merge pull request #21 from Green7/patch-3
Browse files Browse the repository at this point in the history
correct ShouldIgnoreMember parameter type
  • Loading branch information
GeertvanHorrik authored Oct 31, 2023
2 parents 5834cba + 4093272 commit 7928b1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To customize a serializer, derive from an existing class and customize a method.
```
public class SafeXmlSerializer : XmlSerializer
{
protected override bool ShouldIgnoreMember(ModelBase model, PropertyData property)
protected override bool ShouldIgnoreMember(object model, PropertyData property)
{
if (model is SecurityModel)
{
Expand Down

0 comments on commit 7928b1c

Please sign in to comment.