public SecondaryOpenStepWindow(List <KeyDerivationFunctionEntry> keyDerivationFunctionEntries, Action <Dictionary <string, byte[]> > finalizeOpenWithDerivedPasswords) { InitializeComponent(); #if DEBUG this.AttachDevTools(); #endif DataContext = new SecondaryOpenStepViewModel(keyDerivationFunctionEntries, finalizeOpenWithDerivedPasswords, this.CancelClose, this.OpenClose); }
// TODO: Remove once Avalonia fixes XAML parsing public SecondaryOpenStepWindow() { InitializeComponent(); #if DEBUG this.AttachDevTools(); #endif DataContext = new SecondaryOpenStepViewModel(null, null, this.CancelClose, this.OpenClose); }