Class ActionResult
Result from action.
Inheritance
System.Object
ActionResult
Namespace: ISynergy.Framework.Automations.Actions
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class ActionResult : object
Constructors
View SourceActionResult()
Default constructor. Result is false and result is null.
Declaration
public ActionResult()
ActionResult(Boolean, Object)
Default constructor for setting result and if action is succeeded.
Declaration
public ActionResult(bool succeeded, object result = null)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | succeeded | |
System.Object | result |
Properties
View SourceResult
Get placeholder for additional data as result.
Declaration
public object Result { get; }
Property Value
Type | Description |
---|---|
System.Object |
Succeeded
Gets property if action is executed successfully.
Declaration
public bool Succeeded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |