프로퍼티 | 타입 | 설명 | |
---|---|---|---|
FluentMessage | System |
메소드 | 설명 | |
---|---|---|
BuildMessage ( string message ) : |
Builds the message.
|
|
Expected ( object expected ) : |
Adds a message block to describe the expected result.
|
|
ExpectedType ( |
Adds a message block to describe the expected type.
|
|
ExpectedValues ( object expectedValues ) : |
Adds a message block to describe the expected values.
|
|
For ( |
Specifies the type of entities.
|
|
For ( string newEntityDescription ) : |
Specifies the attribute to use to describe entities.
|
|
On ( object test, int index ) : |
Adds a block describing the checked objet.
|
|
ReferenceValues ( object expected ) : |
Adds a message block to describe the expected result.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
WithGivenValue ( object givenValue ) : |
Adds a message block to describe the given value (usually used as an alternative to the Expected block).
|
메소드 | 설명 | |
---|---|---|
FluentMessage ( string message ) : System |
Initializes a new instance of the FluentMessage class. You can use {x} as place holders for standard wordings: - {0}. |
public static BuildMessage ( string message ) : |
||
message | string | The message. |
리턴 |
public Expected ( object expected ) : |
||
expected | object | The expected value. |
리턴 |
public ExpectedType ( |
||
expectedType | The expected type. | |
리턴 |
public ExpectedValues ( object expectedValues ) : |
||
expectedValues | object | The expected values. |
리턴 |
public For ( |
||
forcedType | The type of the Entity. | |
리턴 |
public For ( string newEntityDescription ) : |
||
newEntityDescription | string | The new description for the Entity. |
리턴 |
public On ( object test, int index ) : |
||
test | object | The tested object/value. |
index | int | The interesting index (for enumerable types) |
리턴 |
public ReferenceValues ( object expected ) : |
||
expected | object | The expected value. |
리턴 |
public WithGivenValue ( object givenValue ) : |
||
givenValue | object | The given value. |
리턴 |