예제 #1
0
 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
     });
 }
예제 #2
0
        public void SendVallidationAsync (long zhangguiId, ValidationData validationData)
        {

            Task.Run(() =>
            {
                var xiake = this.GetOnlineXiake(zhangguiId);
                if(xiake != null)
                {
                    xiake.ClientFace.PushValidation(validationData);
                }
            });
        }