public MySqlConnectionStringOption(string keyword, string synonyms, Type baseType, object defaultValue, bool obsolete, MySqlConnectionStringOption.SetterDelegate setter = null, MySqlConnectionStringOption.GetterDelegate getter = null) { this.Keyword = StringUtility.ToLowerInvariant(keyword); if (synonyms != null) { this.Synonyms = StringUtility.ToLowerInvariant(synonyms).Split(new char[] { ',' }); } this.BaseType = baseType; this.Obsolete = obsolete; this.DefaultValue = defaultValue; MySqlConnectionStringOption.SetterDelegate arg_46_6; if ((arg_46_6 = MySqlConnectionStringOption.sealedClass.setterDelegate) == null) { arg_46_6 = (MySqlConnectionStringOption.sealedClass.setterDelegate = new MySqlConnectionStringOption.SetterDelegate(MySqlConnectionStringOption.sealedClass.instance.SetValue)); } MySqlConnectionStringOption.GetterDelegate arg_46_7; if ((arg_46_7 = MySqlConnectionStringOption.sealedClass.getterDelegate) == null) { arg_46_7 = (MySqlConnectionStringOption.sealedClass.getterDelegate = new MySqlConnectionStringOption.GetterDelegate(MySqlConnectionStringOption.sealedClass.instance.GetValue)); } this.Setter = arg_46_6; this.Getter = arg_46_7; }
public MySqlConnectionStringOption(string keyword, string synonyms, Type baseType, object defaultValue, bool obsolete, MySqlConnectionStringOption.SetterDelegate setter, MySqlConnectionStringOption.GetterDelegate getter) { this.Keyword = StringUtility.ToLowerInvariant(keyword); if (synonyms != null) { this.Synonyms = StringUtility.ToLowerInvariant(synonyms).Split(new char[] { ',' }); } this.BaseType = baseType; this.Obsolete = obsolete; this.DefaultValue = defaultValue; this.Setter = setter; this.Getter = getter; }