Class AutorunOptions
Specifies the options for an Autorun instance.
Namespace: Cortex.Net
Assembly: Cortex.Net.dll
Syntax
public class AutorunOptions : object
Properties
| Improve this Doc View SourceContext
Gets or sets the context.
Declaration
public object Context { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Delay
Gets or sets the delay in miliseconds.
Declaration
public int Delay { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ErrorHandler
Gets or sets error handler function that is called in case of an error. Otherwise the error is propagated.
Declaration
public Action<Reaction, Exception> ErrorHandler { get; set; }
Property Value
Type | Description |
---|---|
Action<Reaction, Exception> |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RequiresObservable
Gets or sets a value indicating whether observables are required in the view function.
Declaration
public bool RequiresObservable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Scheduler
Gets or sets the scheduler function to use. The function is async so that other code can be executed in the mean time.
Declaration
public Func<Task> Scheduler { get; set; }
Property Value
Type | Description |
---|---|
Func<Task> |