Example #1
0
 private void OnOperationCompleted(OperationType operation, VersionControlStatus[] statusBefore, VersionControlStatus[] statusAfter, bool success)
 {
     if (OperationCompleted != null)
     {
         ThreadUtility.ExecuteOnMainThread(() =>
         {
             //D.Log(operation + " : " + (success ? "success":"failed"));
             OperationCompleted(operation, statusBefore, statusAfter, success);
         });
     }
 }
Example #2
0
 public static void LogCustomEvent(string page, string pageTitle, string category, string action, string label, int?value)
 {
     ThreadUtility.ExecuteOnMainThread(() => SendRequest(page, pageTitle, category, action, label, value));
 }