SetValue() 개인적인 메소드

private SetValue ( string keyword, object value ) : void
keyword string
value object
리턴 void
 internal void SetUseprocedurebodies(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object value)
 {
     sender.ValidateValue(ref value);
     MySqlTrace.LogWarning(-1, "Use Procedure Bodies is now obsolete.  Use Check Parameters instead");
     msb.SetValue("checkparameters", value);
     msb.SetValue("useprocedurebodies", value);
 }
 internal void SetIntegratedSecurity(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object value)
 {
     if (!Platform.IsWindows())
     {
         throw new MySqlException("IntegratedSecurity is supported on Windows only");
     }
     msb.SetValue("Integrated Security", value);
 }
            internal void SetConnectionTimeOut(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object Value)
            {
                uint num  = (uint)Convert.ChangeType(Value, sender.BaseType);
                uint num2 = Math.Min(num, 2147483u);

                if (num2 != num)
                {
                    MySqlTrace.LogWarning(-1, string.Concat(new object[]
                    {
                        "Connection timeout value too large (",
                        num,
                        " seconds). Changed to max. possible value",
                        num2,
                        " seconds)"
                    }));
                }
                msb.SetValue("connectiontimeout", num2);
            }
 internal void SetValue(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object value)
 {
     sender.ValidateValue(ref value);
     msb.SetValue(sender.Keyword, Convert.ChangeType(value, sender.BaseType));
 }
 internal void SetSslMode(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object value)
 {
     sender.ValidateValue(ref value);
     MySqlTrace.LogWarning(-1, "Encrypt is now obsolete. Use Ssl Mode instead");
     msb.SetValue("Ssl Mode", ((bool)value) ? MySqlSslMode.Preferred : MySqlSslMode.None);
 }
 internal void SetValue(MySqlConnectionStringBuilder msb, MySqlConnectionStringOption sender, object value)
 {
     MySqlTrace.LogWarning(-1, "Use Old Syntax is now obsolete.  Please see documentation");
     msb.SetValue("useoldsyntax", value);
 }