PeanutButter
Loading...
Searching...
No Matches
PeanutButter.TestUtils.AspNetCore.Fakes.FakeActionExecutingContext Class Reference

Provides an ActionExecutingContext implementation where the controller can be late-set. More...

Inheritance diagram for PeanutButter.TestUtils.AspNetCore.Fakes.FakeActionExecutingContext:
PeanutButter.TestUtils.AspNetCore.Fakes.IFake

Public Member Functions

 FakeActionExecutingContext (ActionContext actionContext, IList< IFilterMetadata > filters, IDictionary< string, object > actionArguments, object controller)
void SetController (object controller)
 Sets the controller.

Properties

override object Controller [get]
override IList< IFilterMetadata > Filters [get]

Detailed Description

Provides an ActionExecutingContext implementation where the controller can be late-set.

Member Function Documentation

◆ SetController()

void PeanutButter.TestUtils.AspNetCore.Fakes.FakeActionExecutingContext.SetController ( object controller)

Sets the controller.

Parameters
controller

The documentation for this class was generated from the following file:
  • source/TestUtils/PeanutButter.TestUtils.AspNetCore/Fakes/FakeActionExecutingContext.cs