Пример #1
0
        private void OnLoadCollectionCompleted(object sender, ContentLoadAsyncEventArgs e)
        {
            m_loader.LoadCompleted -= OnLoadCollectionCompleted;

            m_args.Error = e.m_error;
            if (e.m_error == null)
            {
                m_args.Data = e.m_data as XElement;
            }

            m_event.Set();
        }
Пример #2
0
        private void OnLoadCollectionCompleted(object sender, ContentLoadAsyncEventArgs e)
        {
            m_loader.LoadCompleted -= OnLoadCollectionCompleted;

            m_args.Error = e.m_error;
            if (e.m_error == null)
            {
                m_args.Data = e.m_data as XElement;
            }

            m_event.Set();
        }