示例#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))));
 }