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)