예제 #1
0
        private T?GetValue <T>(string key) where T : struct
        {
            key = makeKey(key);
            if (CustomValues.ContainsKey(key))
            {
                var val = CustomValues[key].ToNullable <T>();
                return(val);
            }

            return(null);
        }