コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
        public void Apply()
        {
            OutputSettings settings = new OutputSettings((Affiliation)m_affiliation.SelectedItem, m_symbol.Text);

            m_plugin.SetConfiguraiton(m_entityID, settings);
        }