Пример #1
0
        private void RaiseTimeChanged(TimeChangedEventArgs e)
        {
            var handle = Volatile.Read(ref TimeChanged);

            if (handle != null)
            {
                handle(this, e);
            }
        }
Пример #2
0
 private void RaiseTimeChanged(TimeChangedEventArgs e)
 {
     var handle = Volatile.Read(ref TimeChanged);
     if (handle != null)
     {
         handle(this, e);
     }
 }
Пример #3
0
 private void _player_OnTimeChangedEventHandler(object sender, TimeChangedEventArgs e)
 {
     Time = e.Time;
     if (TimeChanged != null)
     {
         TimeChanged(this, e);
     }
 }