private static Tuple <string, object> ProvideSetting <T>(this VariableInfo varInfo, string settingName, IErrorCache errorCache)
        {
            var value = varInfo.GetValueOrDefault <T>(errorCache);

            return(Tuple.Create(settingName, (object)value));
        }