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); }
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"); }