public ErrorIf ( bool condition, AcErrorType type ) : void | ||
condition | bool | |
type | AcErrorType | |
Résultat | void |
public void ErrorIf(bool condition, AcErrorType type, params object[] args) {
if (condition) {
AddError(new AcError(this, type, args));
} else {
RemoveError(type);
}
}