(String SoundFilePath)
| 572 | } |
| 573 | |
| 574 | private async Task PlaySoundAsync(String SoundFilePath) |
| 575 | { |
| 576 | SoundPlayer _soundPlayer = new(); |
| 577 | try |
| 578 | { |
| 579 | if (File.Exists(SoundFilePath)) |
| 580 | { |
| 581 | _soundPlayer.SoundLocation = SoundFilePath; |
| 582 | _soundPlayer.Play(); |
| 583 | } |
| 584 | } |
| 585 | catch (Exception ex) |
| 586 | { |
| 587 | // |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | #endregion |
| 592 |
nothing calls this directly
no outgoing calls
no test coverage detected