public void FinishAll() { var sf = new StackFrame(); var mn = sf.GetMethod().Name; ProgressInfoMessage msgEntity = ProgressInfoMessageBuilder.Create() .WithCallbackMethodName(mn) .WithServiceType(serviceType) .Build(); distributionFacility.Push(msgEntity); }
public void SendTaskProgressIncrease(string user) { var sf = new StackFrame(); var mn = sf.GetMethod().Name; ProgressInfoMessage msgEntity = ProgressInfoMessageBuilder.Create() .WithCallbackMethodName(mn) .WithServiceType(serviceType) .WithUser(user) .WithValue(1) .Build(); distributionFacility.Push(msgEntity); }
public void SendTaskProgressTotal(int count, TotalType totalType) { var sf = new StackFrame(); var mn = sf.GetMethod().Name; var msgEntity = ProgressInfoMessageBuilder.Create() .WithCallbackMethodName(mn) .WithServiceType(serviceType) .WithTotal(count) .WithTotalType(totalType) .Build(); distributionFacility.Push(msgEntity); }