Свойство | Тип | Описание | |
---|---|---|---|
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. |
Результат |