public override NextCall Invoke(WorkflowMethod invoker) { var diag = new WMSendFile(WAFContext.PathCustomDefinitions + "ContentDefinitionsNoIds.xml", false); return new NextCall(diag); }
NextCall onComplete(WorkflowMethod invoker) { WMBackUpDatabase diag = (WMBackUpDatabase)invoker; WMSendFile sendDiag = new WMSendFile(_filePath, true, Session.GetSite().Name + ".zip"); return new NextCall(sendDiag); }
NextCall afterWrite(WorkflowMethod invoker) { string afile = _path + ".kitfile"; WMSendFile sf = new WMSendFile(afile, true, "data.kit"); return new NextCall(sf); }
NextCall sendFile(WorkflowMethod invoker) { WMSendFile sf = new WMSendFile(_fileName, true, _archiveName); return new NextCall(sf); }
NextCall onComplete(WorkflowMethod invoker) { string path = GetSecureInput<string>(); var pathInfo = WAFRuntime.FileSystem.GetDirectoryInfo(path); WMCompressFiles d = (WMCompressFiles)invoker; WMSendFile s = new WMSendFile(_tempFile, true, pathInfo.Name + ".zip"); return new NextCall(s); }