public override void Invoke(IZappyExecutionContext context, ZappyTaskActionInvoker actionInvoker) { TranslationServiceFacade.AzureKey = TextTranslatorResorceKey; AccountViewModel.SaveAccountClick(); var worker = new BackgroundWorker(); DocumentTranslationManager.DoTranslation( FilePath, false, FromLanguage, ToLanguage, false); }
public override void Invoke(IZappyExecutionContext context, ZappyTaskActionInvoker actionInvoker) { if (MathOP == Operation.Add) { Result = First_Value + Second_Value; } else if (MathOP == Operation.Sub) { Result = First_Value - Second_Value; } else if (MathOP == Operation.Mul) { Result = First_Value * Second_Value; } else { Result = First_Value / Second_Value; } }
public override void Invoke(IZappyExecutionContext context, ZappyTaskActionInvoker actionInvoker) { MessageBox.Show(Text); }