public static bool TryGetValue(this System.Web.Mvc.IValueProvider valueProvider, string key, out ValueProviderResult result) { try { result = valueProvider.GetValue(key); return(true); } catch { result = null; return(false); } }
public ValueSource(System.Web.Mvc.IValueProvider valueProvider) { _valueProvider = valueProvider; }
public MVCValueProviderWrapper(System.Web.Mvc.IValueProvider valueProvider) { this.valueProvider = valueProvider; }