ViewDataDictionaryControllerPropertyActivator.Activate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator.Activate(Microsoft.AspNetCore.Mvc.ControllerContext,System.Object)
public:
virtual void Activate(Microsoft::AspNetCore::Mvc::ControllerContext ^ actionContext, System::Object ^ controller);
public:
void Activate(Microsoft::AspNetCore::Mvc::ControllerContext ^ actionContext, System::Object ^ controller);
public void Activate (Microsoft.AspNetCore.Mvc.ControllerContext actionContext, object controller);
abstract member Activate : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
override this.Activate : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
member this.Activate : Microsoft.AspNetCore.Mvc.ControllerContext * obj -> unit
Public Sub Activate (actionContext As ControllerContext, controller As Object)
参数
- actionContext
- ControllerContext
- controller
- Object
实现
Microsoft.AspNetCore.Mvc.Internal.IControllerPropertyActivator.Activate(Microsoft.AspNetCore.Mvc.ControllerContext,System.Object)