Méthode | Description | |
---|---|---|
Comparison ( string comparison ) : |
Adds a specific comparison message (e.g 'equal to').
|
|
GetMessage ( ) : string |
Gets the message as a string.
|
|
Label ( string newLabel ) : |
Specifies a specific attribute for the message.
|
|
OfType ( Type forcedType ) : |
Requests that a specific type is included in the description block. Default type is the type of the object instance given in constructor. |
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
WithEnumerableCount ( long itemsCount ) : |
Adds a description of the number of items (only relevant if the object is an enumerable).
|
|
WithHashCode ( bool active = true ) : |
Requests that the Hash value is included in the description block.
|
|
WithType ( bool active = true, bool full = false ) : |
Requests that the type is included in the description block.
|
Méthode | Description | |
---|---|---|
FullLabel ( ) : string |
The full label.
|
|
MessageBlock ( |
Initializes a new instance of the MessageBlock class.
|
|
MessageBlock ( |
Initializes a new instance of the MessageBlock class.
|
public Comparison ( string comparison ) : |
||
comparison | string | /// The comparison suffix. /// |
Résultat |
public Label ( string newLabel ) : |
||
newLabel | string | /// The new attribute. /// |
Résultat |
public OfType ( Type forcedType ) : |
||
forcedType | Type | /// Type to include in the description. /// |
Résultat |
public WithEnumerableCount ( long itemsCount ) : |
||
itemsCount | long | /// The number of items of the enumerable instance. /// |
Résultat |
public WithHashCode ( bool active = true ) : |
||
active | bool | /// True to include the type. This is the default value. /// |
Résultat |
public WithType ( bool active = true, bool full = false ) : |
||
active | bool | /// True to include the type. This is the default value. /// |
full | bool | /// True to display the full type name (with assembly). /// |
Résultat |