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.
public sealed class DirectExecutor : IDisposable
Inheritance
Implements
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
Clears any cached execution state.
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.