Exemplo n.º 1
0
    public static DataGridViewConsoleForm.Level VerifyWithVerifier(VerifierName verifierName, DataGridView dataGridView, out List <DataGridViewConsoleForm.Message> messageList)
    {
        VerifierInfo verifierInfo = GetVerifierInfo(verifierName);
        BaseVerifier verifier     = Activator.CreateInstance(verifierInfo.ClassType) as BaseVerifier;

        return(verifier.Verify(dataGridView, out messageList));
    }
Exemplo n.º 2
0
    public static DataGridViewConsoleForm.Level VerifyWithVerifier(string verifierName, DataGridView dataGridView, out List <DataGridViewConsoleForm.Message> messageList)
    {
        BaseVerifier verifier = GetVerifierWithName(verifierName);

        return(verifier.Verify(dataGridView, out messageList));
    }
Exemplo n.º 3
0
    public static string GetVerifierDisplayName(string verifierName)
    {
        BaseVerifier verifier = GetVerifierWithName(verifierName);

        return(GetVerifierDisplayName(verifier.GetType()));
    }