在我的代码中有@Html.Partial("_StatusMessage", Model.StatusMessage),但Visual Studio警告我:Error MVC1000: Use of IHtmlHelper.PartialConsider using <partial> Tag Helper or IHtmlHelper.PartialAsync.我应该禁用这个错误,或者我真的应该将@Html.Partial更改为@Html.PartialAsync,为什么
// where _testList is a List<string> in the class's scope}
由于我们讨论的是多线程应用程序但是,这个方法也被其他几个进程使用,比如Visual的调试器,谁知道还有什么,因为这个方法是从Object类本身继承的。例如,:--我担心它可能会在场景后面被更频繁地调用(由框架或其他任何东西调用),并且必须使用锁(这可能导致</em