Example #1
0
        public bool GetBoolean(string key, bool defaultValue = false)
        {
            var raw = ResolveContainerStore(key);

            if (raw == null)
            {
                return(defaultValue);
            }
            bool value;

            return(PropertyConverter.ToBoolean(Interpolate(raw), out value) ? value : defaultValue);
        }