public PluginMashupMessage CreatePluginMashupMessage(AccountName accountName) { return new PluginMashupMessage { AccountName = accountName, MashupName = Name, Placeholders = GetPlaceholders(), PluginMashupScripts = GetMashupScripts(accountName), PluginName = string.Empty }; }
public PluginProfileErrorCollection Delete(string name) { DeleteMashupNameToPlugin(name); _scriptStorage.DeleteMashup(name); var dto = new Mashup { Name = name }; _bus.Send(dto.CreatePluginMashupMessage()); _log.InfoFormat("Clean mashup commnad sent to TP (Mashup '{0}' for account '{1}')", dto.Name, _context.AccountName.Value); return(new PluginProfileErrorCollection()); }