private void SendUpdateOnMainThread(AsaStatusEventType type, AsaStatus status) { ExecuteOnMainThread(new Action(() => AsaStatusEventHook?.Invoke(this, new AsaStatusEventArgs(type, status)))); }
public AsaStatusEventArgs(AsaStatusEventType type, AsaStatus status) { Type = type; Status = status; }
private void SendUpdateOnMainThread(AsaStatusEventType type, AsaStatus status) { Log($"{type}, {status.Percentage}", false); ExecuteOnMainThread(new Action(() => AsaStatusEventHook?.Invoke(this, new AsaStatusEventArgs(type, status)))); }