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