예제 #1
0
 private static bool IsCategoryParentOf(AudioCategory toTest, AudioCategory parent)
 {
     for (var audioCategory = toTest; audioCategory != null; audioCategory = audioCategory.ParentCategory)
     {
         if (audioCategory == parent)
         {
             return(true);
         }
     }
     return(false);
 }
예제 #2
0
파일: AudioItem.cs 프로젝트: Raixur/Slabo
 internal void _Initialize(AudioCategory categ)
 {
     Category = categ;
     _NormalizeSubItems();
 }