共用方式為


ViewDataDictionaryControllerPropertyActivator.Activate 方法

定義

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)

適用於