Show / Hide Table of Contents

Class CortexConfiguration

Configuration parameters for an ISharedState instance.

Inheritance
System.Object
CortexConfiguration
Namespace: Cortex.Net
Assembly: Cortex.Net.dll
Syntax
public class CortexConfiguration : object

Constructors

| Improve this Doc View Source

CortexConfiguration()

Initializes a new instance of the CortexConfiguration class.

Declaration
public CortexConfiguration()

Properties

| Improve this Doc View Source

AutoscheduleActions

Gets or sets a value indicating whether to automatically schedule actions on a UI thread.

Declaration
public bool AutoscheduleActions { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ComputedRequiresReaction

Gets or sets a value indicating whether a ComputedValue<T> instance requires a reactive context.

Declaration
public bool ComputedRequiresReaction { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DisableErrorBoundaries

Gets or sets a value indicating whether to catch and rethrow exceptions. This is useful for inspecting the state of the stack when an exception occurs while debugging.

Declaration
public bool DisableErrorBoundaries { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Enabling this setting makes it possible for the graph to be left in an inconsistent state. Do not enable this in production.

| Improve this Doc View Source

EnforceActions

Gets or sets a value that defines how strict modification of state should be enforced.

Declaration
public EnforceAction EnforceActions { get; set; }
Property Value
Type Description
EnforceAction
| Improve this Doc View Source

MaxReactionIteractions

Gets or sets the Maximum number of reaction iterations that is allowed.

Declaration
public int MaxReactionIteractions { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ObservableRequiresReaction

Gets or sets a value indicating whether to warn if observables are accessed outside a reactive context.

Declaration
public bool ObservableRequiresReaction { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ReactionRequiresObservable

Gets or sets a value indicating whether to warn if reactions are required to visit at least one observable.

Declaration
public bool ReactionRequiresObservable { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SynchronizationContext

Gets or sets the SynchronizationContext that will be used for Reactions.

Declaration
public SynchronizationContext SynchronizationContext { get; set; }
Property Value
Type Description
SynchronizationContext

Extension Methods

TraceExtensions.Trace<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>, TraceMode)
ReactiveObjectTypeUtilExtensions.GetObservable(Object)
ReactiveObjectTypeUtilExtensions.GetObservable<TObject, TMember>(TObject, Expression<Func<TObject, TMember>>)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX