메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. /// |
리턴 |
public Label ( string newLabel ) : |
||
newLabel | string | /// The new attribute. /// |
리턴 |
public OfType ( Type forcedType ) : |
||
forcedType | Type | /// Type to include in the description. /// |
리턴 |
public WithEnumerableCount ( long itemsCount ) : |
||
itemsCount | long | /// The number of items of the enumerable instance. /// |
리턴 |
public WithHashCode ( bool active = true ) : |
||
active | bool | /// True to include the type. This is the default value. /// |
리턴 |
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). /// |
리턴 |