예제 #1
0
 public static bool IsCustomSound(this NotificationSound sound)
 => !(
     sound.Equals(NotificationSound.None) ||
     sound.Equals(NotificationSound.DefaultSystem) ||
     sound.Equals(NotificationSound.DefaultPriority)
     );
예제 #2
0
파일: Extensions.cs 프로젝트: dorisoy/Shiny
 public static bool IsCustomSound(this NotificationSound sound) => sound != null && sound.Type == NotificationSoundType.Custom;