Skip to content

Class DirectExecutor

Namespace: Belay.Core
Assembly: Belay.Core.dll

Direct executor that handles all attribute types via AttributeHandler. Replaces the complex executor hierarchy with a single, focused implementation.

csharp
public sealed class DirectExecutor : IDisposable

Inheritance

objectDirectExecutor

Implements

IDisposable

Inherited Members

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

Constructors

DirectExecutor(IDeviceConnection, ILogger<DirectExecutor>?)

Initializes a new instance of the class.

Methods

ClearCache()

Clears any cached execution state.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecuteAsync<T>(MethodInfo, object[], CancellationToken)

Executes a method with return value using AttributeHandler.

ExecuteAsync(MethodInfo, object[], CancellationToken)

Executes a method without return value using AttributeHandler.

ExecutePythonAsync<T>(string, CancellationToken)

Executes Python code directly on the device.

ExecutePythonAsync(string, CancellationToken)

Executes Python code directly on the device without return value.

Released under the Apache License 2.0.