如何在rc2 vnext中访问控制器ActionBindingContext?

时间:2016-02-08 09:16:13

标签: c# asp.net asp.net-core

在rc1和之前的版本中,控制器有一个BindingContext属性,它是一个ActionBindingContext对象。

这似乎不适用于rc2?有任何想法如何访问它?

我正在使用rc2-16357

我的nuget feed

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
        <add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v3/index.json" />
        <add key="AzureAd Nightly" value="https://www.myget.org/F/azureadwebstacknightly/api/v3/index.json" />
        <add key="NuGet" value="https://api.nuget.org/v3/index.json" />
        <add key="DotNetCore" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" />
        <add key="XUnit" value="https://www.myget.org/F/xunit/api/v3/index.json" />
    </packageSources>
</configuration>

0 个答案:

没有答案