예제 #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);
     }
 }