public void CheckMashupNamesOfReturnedProfile(string profileName, string[] mashupNames) { var mashups = new MashupNames(); mashups.AddRange(mashupNames); CheckReturnedProfile(new PluginProfileDto { Name = profileName, Settings = new MashupManagerProfile {MashupNames = mashups} }); }
public void CheckMashupNamesOfReturnedProfile(string profileName, string[] mashupNames) { var mashups = new MashupNames(); mashups.AddRange(mashupNames); CheckReturnedProfile(new PluginProfileDto { Name = profileName, Settings = new MashupManagerProfile { MashupNames = mashups } }); }
private void CreateOrUpdateProfile(MashupNames names) { var command = ObjectFactory.GetInstance<AddOrUpdateProfileCommand>(); var pluginProfileDto = new PluginProfileDto { Name = ProfileName, Settings = new MashupManagerProfile { MashupNames = names } }; command.Execute(pluginProfileDto.Serialize()); }
public MashupManagerProfile() { MashupNames = new MashupNames(); }