Skip to content

Class BehaviorExecutionContext

Namespace: Cephalon.Behaviors.Patterns.Abstractions
Assembly: Cephalon.Behaviors.Patterns.dll

Carries all information needed to execute one behavior invocation.

public sealed class BehaviorExecutionContext

objectBehaviorExecutionContext

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Gets the transport-neutral behavior context.

public required IBehaviorContext BehaviorContext { get; init; }

IBehaviorContext

Gets the resolved behavior instance.

public required object BehaviorInstance { get; init; }

object

Gets the behavior topology descriptor for this invocation.

public required BehaviorTopologyDescriptor Descriptor { get; init; }

BehaviorTopologyDescriptor

Gets the deserialized input object.

public required object Input { get; init; }

object

Gets the compiled execution slot for invoking the behavior.

public required BehaviorExecutionSlot Slot { get; init; }

BehaviorExecutionSlot