메소드 | 설명 | |
---|---|---|
AddFieldMismatchValidationError ( string fieldName ) : void |
Adds the field mismatch validation error.
|
|
AddFieldRequiredValidationError ( string fieldName ) : void |
Adds the field required validation error.
|
|
AddGenericFieldValidationError ( string fieldName, string message ) : void |
Adds the generic field validation error.
|
|
AddModelStateErrors ( ModelStateDictionary modelState ) : void |
Adds the model state errors.
|
|
AddOperationError ( ApiErrorCode errorCode, string message ) : void |
Adds the operation error.
|
|
AddValidationError ( string fieldName, ApiErrorCode errorCode ) : void |
Adds the validation error.
|
|
InvalidRequest ( ) : |
Creates a generic invalid request response
|
|
Success ( ) : |
Creates a generic success response
|
public AddFieldMismatchValidationError ( string fieldName ) : void | ||
fieldName | string | Name of the field. |
리턴 | void |
public AddFieldRequiredValidationError ( string fieldName ) : void | ||
fieldName | string | Name of the field. |
리턴 | void |
public AddGenericFieldValidationError ( string fieldName, string message ) : void | ||
fieldName | string | Name of the field. |
message | string | The message. |
리턴 | void |
public AddModelStateErrors ( ModelStateDictionary modelState ) : void | ||
modelState | ModelStateDictionary | State of the model. |
리턴 | void |
public AddOperationError ( ApiErrorCode errorCode, string message ) : void | ||
errorCode | ApiErrorCode | The error code. |
message | string | The message. |
리턴 | void |
public AddValidationError ( string fieldName, ApiErrorCode errorCode ) : void | ||
fieldName | string | Name of the field. |
errorCode | ApiErrorCode | The error code. |
리턴 | void |