Class ActionResult
Inheritance
System.Object
ActionResult
Assembly: cs.temp.dll.dll
Syntax
public class ActionResult
Constructors
ActionResult()
Declaration
ActionResult(String)
Declaration
public ActionResult(string error)
Parameters
Type |
Name |
Description |
System.String |
error |
|
Properties
Errors
Declaration
public List<string> Errors { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<System.String> |
|
HasErrors
Declaration
public bool HasErrors { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSuccessful
Declaration
public bool IsSuccessful { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
AddError(String)
Declaration
public void AddError(string error)
Parameters
Type |
Name |
Description |
System.String |
error |
|
AddErrors(IEnumerable<String>)
Declaration
public void AddErrors(IEnumerable<string> errors)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
errors |
|