/// <summary> /// Set how a specified entity will be output. /// </summary> /// <param name="entityID">The entity ID</param> /// <param name="settings">The configuration to use</param> public void SetConfiguraiton(string entityID, OutputSettings settings) { m_settings[entityID] = settings; }
/// <summary> /// Get how a specified entity will be output. /// /// </summary> /// <param name="entityID">The entity ID</param> /// <param name="settings">The configuration being used</param> /// <returns>True if a configuration existed</returns> public bool GetConfiguration(string entityID, out OutputSettings settings) { return(m_settings.TryGetValue(entityID, out settings)); }
public void Apply() { OutputSettings settings = new OutputSettings((Affiliation)m_affiliation.SelectedItem, m_symbol.Text); m_plugin.SetConfiguraiton(m_entityID, settings); }