static TranslatedPasswordComponentSolver()
 {
     PasswordComponentType = ReflectionHelper.FindType("PasswordsTranslatedModule");
     DisplayField          = PasswordComponentType.GetField("DisplaySlots", BindingFlags.NonPublic | BindingFlags.Instance);
     DownButtonField       = PasswordComponentType.GetField("ButtonsDown", BindingFlags.Public | BindingFlags.Instance);
     SubmitButtonField     = PasswordComponentType.GetField("ButtonSubmit", BindingFlags.Public | BindingFlags.Instance);
 }
示例#2
0
    static TranslatedPasswordComponentSolver()
    {
        PasswordComponentType = ReflectionHelper.FindType("PasswordsTranslatedModule");
        DisplayField          = PasswordComponentType.GetField("DisplaySlots", BindingFlags.NonPublic | BindingFlags.Instance);
        DownButtonField       = PasswordComponentType.GetField("ButtonsDown", BindingFlags.Public | BindingFlags.Instance);
        SubmitButtonField     = PasswordComponentType.GetField("ButtonSubmit", BindingFlags.Public | BindingFlags.Instance);
        SimilarJamos          = PasswordComponentType.GetValue <Dictionary <char, char> >("SimilarJamos");

        TranslatedModulesSettings = ReflectionHelper.FindType("TranslatedModulesSettings");
    }