C# 클래스 FluentAssertions.Mvc.ActionResultAssertions

상속: ObjectAssertions
파일 보기 프로젝트 열기: kevinkuszyk/FluentAssertions.MVC

공개 메소드들

메소드 설명
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