irek.Configuration.Config.Set C# (CSharp) Method

Set() public method

Sets the specified key.
public Set ( string key, string val ) : void
key string The key.
val string The val.
return void
        public void Set(string key, string val)
        {
            if (Map.ContainsKey((object)key))
            {
                Map[key] = (object)val;
            }
            else
            {
                throw new Errors.InvalidConfigurationKeyException("No key '" + key + "' was found in your configuration.");
            }
        }