Пример #1
0
        public void Visit(SoundPackFile file)
        {
            // Raise the FoundSoundPackFile event
            SoundFileEventArgs <SoundPackFile> args = new SoundFileEventArgs <SoundPackFile>(file, _currentEvent);

            OnFoundSoundPackFile(args);
        }
Пример #2
0
 /// <summary>
 /// Raises the FoundSoundPackFile event.
 /// </summary>
 /// <param name="args">The SoundFileEventArgs to pass to handlers.</param>
 protected void OnFoundSoundPackFile(SoundFileEventArgs <SoundPackFile> args)
 {
     if (FoundSoundPackFile != null)
     {
         FoundSoundPackFile(this, args);
     }
 }