public void PushValidation (ValidationData validation) { mEventAggregator.GetEvent<ReceivedValidationEvent>().Publish(new ReceivedValidationData() { Id = validation.Id, Biaoshi = validation.Biaoshi, BiaoTitle = validation.BiaoTitle, CreateTime = validation.CreateTime, Details = validation.Details, QQ = validation.QQ, Tel = validation.Tel }); }
public void SendVallidationAsync (long zhangguiId, ValidationData validationData) { Task.Run(() => { var xiake = this.GetOnlineXiake(zhangguiId); if(xiake != null) { xiake.ClientFace.PushValidation(validationData); } }); }