public override bool TryBind(string value, IFormatProvider provider, out object result) { result = new BinderPrecedenceModel { Precedence = BinderPrecedence.Parameter }; return(true); }
public string Index([FromRoute(BinderType = typeof(BinderPrecedenceParameterBinder))] BinderPrecedenceModel model) { return(model.Precedence.ToString()); }