GetAllMedia() public method

public GetAllMedia ( ) : IEnumerable
return IEnumerable
Esempio n. 1
0
 protected virtual void _StopMedia()
 {
     foreach (IMediaModuleInstance media in Sequence.GetAllMedia())
     {
         media.Stop();
     }
 }
Esempio n. 2
0
 protected virtual void _ResumeMedia()
 {
     foreach (IMediaModuleInstance media in Sequence.GetAllMedia())
     {
         media.Resume();
     }
 }
Esempio n. 3
0
 protected virtual void _LoadMedia()
 {
     foreach (IMediaModuleInstance media in Sequence.GetAllMedia())
     {
         media.LoadMedia(StartTime);
     }
 }
Esempio n. 4
0
        protected virtual void _StopMedia()
        {
            var sequenceMedia = Sequence.GetAllMedia();

            if (sequenceMedia != null && sequenceMedia.Any())
            {
                foreach (IMediaModuleInstance media in sequenceMedia)
                {
                    media.Stop();
                }
            }
        }
Esempio n. 5
0
        protected virtual void _LoadMedia()
        {
            var sequenceMedia = Sequence.GetAllMedia();

            if (sequenceMedia != null && sequenceMedia.Any())
            {
                foreach (IMediaModuleInstance media in sequenceMedia)
                {
                    media.LoadMedia(StartTime);
                }
            }
        }
Esempio n. 6
0
        protected virtual void _ResumeMedia()
        {
            var sequenceMedia = Sequence.GetAllMedia();

            if (sequenceMedia != null)
            {
                foreach (IMediaModuleInstance media in sequenceMedia)
                {
                    media.Resume();
                }
            }
        }