C# Class FluentAssertions.Mvc.ActionResultAssertions

Inheritance: ObjectAssertions
Afficher le fichier Open project: kevinkuszyk/FluentAssertions.MVC

Méthodes publiques

Méthode Description
ActionResultAssertions ( ActionResult subject ) : FluentAssertions.Primitives

Initializes a new instance of the T:ActionResultAssertions class.

ActionResultAssertions ( IActionResult subject ) : FluentAssertions.Primitives
BeContentResult ( ) : ContentResultAssertions

Asserts that the subject is a ContentResult.

BeContentResult ( string reason ) : ContentResultAssertions

Asserts that the subject is a ContentResult.

BeEmptyResult ( ) : EmptyResult

Asserts that the subject is an EmptyResult.

BeEmptyResult ( string reason ) : EmptyResult

Asserts that the subject is an EmptyResult.

BePartialViewResult ( ) : PartialViewResultAssertions

Asserts that the subject is a PartialViewResult.

BePartialViewResult ( string reason ) : PartialViewResultAssertions

Asserts that the subject is a PartialViewResult.

BeRedirectResult ( ) : RedirectResultAssertions

Asserts that the subject is a RedirectResult.

BeRedirectResult ( string reason ) : RedirectResultAssertions

Asserts that the subject is a RedirectResult.

BeRedirectToRouteResult ( ) : RedirectToRouteAssertions

Asserts that the subject is a RedirectToRouteResult.

BeRedirectToRouteResult ( string reason ) : RedirectToRouteAssertions

Asserts that the subject is a RedirectToRouteResult.

BeViewResult ( ) : ViewResultAssertions

Asserts that the subject is a ViewResult.

BeViewResult ( string reason ) : ViewResultAssertions

Asserts that the subject is a ViewResult.

Method Details

ActionResultAssertions() public méthode

Initializes a new instance of the T:ActionResultAssertions class.
public ActionResultAssertions ( ActionResult subject ) : FluentAssertions.Primitives
subject ActionResult
Résultat FluentAssertions.Primitives

ActionResultAssertions() public méthode

public ActionResultAssertions ( IActionResult subject ) : FluentAssertions.Primitives
subject IActionResult
Résultat FluentAssertions.Primitives

BeContentResult() public méthode

Asserts that the subject is a ContentResult.
public BeContentResult ( ) : ContentResultAssertions
Résultat ContentResultAssertions

BeContentResult() public méthode

Asserts that the subject is a ContentResult.
public BeContentResult ( string reason ) : ContentResultAssertions
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat ContentResultAssertions

BeEmptyResult() public méthode

Asserts that the subject is an EmptyResult.
public BeEmptyResult ( ) : EmptyResult
Résultat EmptyResult

BeEmptyResult() public méthode

Asserts that the subject is an EmptyResult.
public BeEmptyResult ( string reason ) : EmptyResult
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat EmptyResult

BePartialViewResult() public méthode

Asserts that the subject is a PartialViewResult.
public BePartialViewResult ( ) : PartialViewResultAssertions
Résultat PartialViewResultAssertions

BePartialViewResult() public méthode

Asserts that the subject is a PartialViewResult.
public BePartialViewResult ( string reason ) : PartialViewResultAssertions
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat PartialViewResultAssertions

BeRedirectResult() public méthode

Asserts that the subject is a RedirectResult.
public BeRedirectResult ( ) : RedirectResultAssertions
Résultat RedirectResultAssertions

BeRedirectResult() public méthode

Asserts that the subject is a RedirectResult.
public BeRedirectResult ( string reason ) : RedirectResultAssertions
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat RedirectResultAssertions

BeRedirectToRouteResult() public méthode

Asserts that the subject is a RedirectToRouteResult.
public BeRedirectToRouteResult ( ) : RedirectToRouteAssertions
Résultat RedirectToRouteAssertions

BeRedirectToRouteResult() public méthode

Asserts that the subject is a RedirectToRouteResult.
public BeRedirectToRouteResult ( string reason ) : RedirectToRouteAssertions
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat RedirectToRouteAssertions

BeViewResult() public méthode

Asserts that the subject is a ViewResult.
public BeViewResult ( ) : ViewResultAssertions
Résultat ViewResultAssertions

BeViewResult() public méthode

Asserts that the subject is a ViewResult.
public BeViewResult ( string reason ) : ViewResultAssertions
reason string /// A formatted phrase as is supported by explaining why the assertion /// is needed. If the phrase does not start with the word because, it is prepended automatically. ///
Résultat ViewResultAssertions