1 write to _typesFallBacks
System.Web.DynamicData (1)
DynamicData\FieldTemplateFactory.cs (1)
74
_typesFallBacks
= new Dictionary<Type, Type>();
15 references to _typesFallBacks
System.Web.DynamicData (15)
DynamicData\FieldTemplateFactory.cs (15)
75
_typesFallBacks
[typeof(float)] = typeof(decimal);
76
_typesFallBacks
[typeof(double)] = typeof(decimal);
77
_typesFallBacks
[typeof(Int16)] = typeof(int);
78
_typesFallBacks
[typeof(byte)] = typeof(int);
79
_typesFallBacks
[typeof(long)] = typeof(int);
82
_typesFallBacks
[typeof(char)] = typeof(string);
83
_typesFallBacks
[typeof(int)] = typeof(string);
84
_typesFallBacks
[typeof(decimal)] = typeof(string);
85
_typesFallBacks
[typeof(Guid)] = typeof(string);
86
_typesFallBacks
[typeof(DateTime)] = typeof(string);
87
_typesFallBacks
[typeof(DateTimeOffset)] = typeof(string);
88
_typesFallBacks
[typeof(TimeSpan)] = typeof(string);
89
_typesFallBacks
[typeof(DbGeography)] = typeof(string);
90
_typesFallBacks
[typeof(DbGeometry)] = typeof(string);
98
if (
_typesFallBacks
.TryGetValue(t, out fallbackType))