示例#1
0
 private void OnWebRequestAgentStart(WebRequestAgent sender)
 {
     if (m_WebRequestStartEventHandler != null)
     {
         WebRequestStartEventArgs webRequestStartEventArgs = WebRequestStartEventArgs.Create(sender.Task.SerialId, sender.Task.WebRequestUri, sender.Task.UserData);
         m_WebRequestStartEventHandler(this, webRequestStartEventArgs);
         ReferencePool.Release(webRequestStartEventArgs);
     }
 }
示例#2
0
 private void OnWebRequestStart(object sender, GameFramework.WebRequest.WebRequestStartEventArgs e)
 {
     m_EventComponent.Fire(this, ReferencePool.Acquire <WebRequestStartEventArgs>().Fill(e));
 }
示例#3
0
 private void OnWebRequestStart(object sender, GameFramework.WebRequest.WebRequestStartEventArgs e)
 {
     m_EventComponent.Fire(this, WebRequestStartEventArgs.Create(e));
 }