Ejemplo n.º 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
     });
 }
Ejemplo n.º 2
0
        public void SendVallidationAsync (long zhangguiId, ValidationData validationData)
        {

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