CreatePluginMashupMessage() public method

public CreatePluginMashupMessage ( ) : PluginMashupMessage
return Tp.Integration.Messages.PluginLifecycle.PluginMashupMessage
        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());
        }
		public PluginProfileErrorCollection Add(Mashup dto, bool generateUniqueName)
		{
			if (generateUniqueName)
			{
				dto.Name = GetUniqueMashupName(dto.Name);
			}

			var errors = dto.ValidateAdd(ManagerProfile);
			if (errors.Any())
			{
				return errors;
			}

			AddMashupNameToPlugin(dto.Name);
			_scriptStorage.SaveMashup(dto);
			_bus.Send(dto.CreatePluginMashupMessage());
			_log.InfoFormat("Add mashup command sent to TP (Mashup '{0}' for account '{1}')", dto.Name, _context.AccountName.Value);
			return errors;
		}
        public PluginProfileErrorCollection Add(Mashup dto, bool generateUniqueName)
        {
            if (generateUniqueName)
            {
                dto.Name = GetUniqueMashupName(dto.Name);
            }

            var errors = dto.ValidateAdd(ManagerProfile);

            if (errors.Any())
            {
                return(errors);
            }

            AddMashupNameToPlugin(dto.Name);
            _scriptStorage.SaveMashup(dto);
            _bus.Send(dto.CreatePluginMashupMessage());
            _log.InfoFormat("Add mashup command sent to TP (Mashup '{0}' for account '{1}')", dto.Name, _context.AccountName.Value);
            return(errors);
        }
		public PluginProfileErrorCollection Delete(string name)
		{
			var errors = MashupScriptStorageOperations.Delete(_scriptStorage, name);
			if (errors.Any())
			{
				return errors;
			}
			DeleteMashupNameToPlugin(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();
		}