프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Success | fsResult |
메소드 | 설명 | |
---|---|---|
AddMessage ( string message ) : void |
Adds a new message to this result.
|
|
AddMessages ( |
Adds only the messages from the other result into this result, ignoring the success/failure status of the other result.
|
|
AssertSuccess ( ) : fsResult |
A simply utility method that will assert that this result is successful. If it is not, then an exception is thrown.
|
|
AssertSuccessWithoutWarnings ( ) : fsResult |
A simple utility method that will assert that this result is successful and that there are no warning messages. This throws an exception if either of those asserts are false.
|
|
Fail ( string warning ) : fsResult |
Create a result that failed.
|
|
Merge ( fsResult other ) : fsResult |
Merges the other result into this one. If the other result failed, then this one too will have failed. Note that you can use += instead of this method so that you don't bury the actual method call that is generating the other fsResult. |
|
Warn ( string warning ) : fsResult |
Create a result that is successful but contains the given warning message.
|
|
operator ( ) : fsResult |
Only use this as +=!
|
public AssertSuccessWithoutWarnings ( ) : fsResult | ||
리턴 | fsResult |