3 references to CastOrDefault
System.Web (3)
ModelBinding\CollectionModelBinder`1.cs (2)
51
boundCollection.Add(ModelBinderUtil.
CastOrDefault
<TElement>(boundValue));
97
boundCollection.Add(ModelBinderUtil.
CastOrDefault
<TElement>(boundValue));
ModelBinding\KeyValuePairModelBinderUtil.cs (1)
15
model = ModelBinderUtil.
CastOrDefault
<TModel>(untypedModel);