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); } }
private void OnWebRequestStart(object sender, GameFramework.WebRequest.WebRequestStartEventArgs e) { m_EventComponent.Fire(this, ReferencePool.Acquire <WebRequestStartEventArgs>().Fill(e)); }
private void OnWebRequestStart(object sender, GameFramework.WebRequest.WebRequestStartEventArgs e) { m_EventComponent.Fire(this, WebRequestStartEventArgs.Create(e)); }