C# Класс FluentAssertions.Mvc.ActionResultAssertions

Наследование: ObjectAssertions
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ActionResultAssertions() публичный Метод

Initializes a new instance of the T:ActionResultAssertions class.
public ActionResultAssertions ( ActionResult subject ) : FluentAssertions.Primitives
subject ActionResult
Результат FluentAssertions.Primitives

ActionResultAssertions() публичный Метод

public ActionResultAssertions ( IActionResult subject ) : FluentAssertions.Primitives
subject IActionResult
Результат FluentAssertions.Primitives

BeContentResult() публичный Метод

Asserts that the subject is a ContentResult.
public BeContentResult ( ) : ContentResultAssertions
Результат ContentResultAssertions

BeContentResult() публичный Метод

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. ///
Результат ContentResultAssertions

BeEmptyResult() публичный Метод

Asserts that the subject is an EmptyResult.
public BeEmptyResult ( ) : EmptyResult
Результат EmptyResult

BeEmptyResult() публичный Метод

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. ///
Результат EmptyResult

BePartialViewResult() публичный Метод

Asserts that the subject is a PartialViewResult.
public BePartialViewResult ( ) : PartialViewResultAssertions
Результат PartialViewResultAssertions

BePartialViewResult() публичный Метод

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. ///
Результат PartialViewResultAssertions

BeRedirectResult() публичный Метод

Asserts that the subject is a RedirectResult.
public BeRedirectResult ( ) : RedirectResultAssertions
Результат RedirectResultAssertions

BeRedirectResult() публичный Метод

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. ///
Результат RedirectResultAssertions

BeRedirectToRouteResult() публичный Метод

Asserts that the subject is a RedirectToRouteResult.
public BeRedirectToRouteResult ( ) : RedirectToRouteAssertions
Результат RedirectToRouteAssertions

BeRedirectToRouteResult() публичный Метод

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. ///
Результат RedirectToRouteAssertions

BeViewResult() публичный Метод

Asserts that the subject is a ViewResult.
public BeViewResult ( ) : ViewResultAssertions
Результат ViewResultAssertions

BeViewResult() публичный Метод

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. ///
Результат ViewResultAssertions