在 RC1 之前,我们做了这样的事情:
public void OnAuthorization(AuthorizationContext filterContext)
{
if (whatever)
{
filterContext.Cancel();
}
}
现在已经没有了,我们如何使用 RC1 实现相同的结果?
谢谢,
凯尔
在 RC1 之前,我们做了这样的事情:
public void OnAuthorization(AuthorizationContext filterContext)
{
if (whatever)
{
filterContext.Cancel();
}
}
现在已经没有了,我们如何使用 RC1 实现相同的结果?
谢谢,
凯尔