Skip to content

Reverse scrubbing? #1345

Answered by SimonCropp
JulianRooze asked this question in Q&A
Nov 12, 2024 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

how about this as a solution

    [ModuleInitializer]
    public static void Initialize()
    {
        foreach (var type in typeof(Address).Assembly.GetTypes())
        {
            foreach (var property in type.GetProperties())
            {
                if (property.Name.EndsWith("ID"))
                {
                    VerifierSettings.ScrubMember(type, property.Name);
                }
            }
        }
    }

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@JulianRooze
Comment options

@SimonCropp
Comment options

Answer selected by JulianRooze
@JulianRooze
Comment options

@SimonCropp
Comment options

@JulianRooze
Comment options

@SimonCropp
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants