Class ActionRunner
Inheritance
System.Object
ActionRunner
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class ActionRunner
Constructors
ActionRunner()
Declaration
ActionRunner()
Fields
_actionRunner
Declaration
static ActionRunner _actionRunner
Field Value
Type | Description |
---|---|
ActionRunner |
Properties
Runner
Declaration
public static ActionRunner Runner { get; }
Property Value
Type | Description |
---|---|
ActionRunner |
Methods
DefaulApprove(Object)
Declaration
bool DefaulApprove(object parameter = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Returns
Type | Description |
---|---|
System.Boolean |
Execute(Action, String, ActionRunner.UserApprovedActionDelegate)
Declaration
public void Execute(Action action, string info = "", ActionRunner.UserApprovedActionDelegate userApproval = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action | action | |
System.String | info | |
ActionRunner.UserApprovedActionDelegate | userApproval |
GetCaller(Int32)
Declaration
static string GetCaller(int level = 2)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | level |
Returns
Type | Description |
---|---|
System.String |
ReportException(Exception)
Declaration
public void ReportException(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception |