FastQuant.FrameworkServer.GetBooleanValue C# (CSharp) Méthode

GetBooleanValue() protected méthode

protected GetBooleanValue ( string key, bool defaultValue ) : bool
key string
defaultValue bool
Résultat bool
        protected bool GetBooleanValue(string key, bool defaultValue)
        {
            bool result;
            return bool.TryParse(GetStringValue(key, string.Empty), out result) ? result : defaultValue;
        }