// Token: 0x06000620 RID: 1568 RVA: 0x00024D7C File Offset: 0x00022F7C
 public void DeleteHiddenOrionDiscoveryProfilesByName(string profileName)
 {
     DiscoveryLogic.log.DebugFormat("Deleting hidden profile '{0}'", profileName);
     foreach (DiscoveryProfileEntry profile in from x in DiscoveryProfileEntry.GetProfilesByName(profileName)
              where x.IsHidden
              select x)
     {
         this.DeleteDiscoveryProfileInternal(profile);
     }
 }
Esempio n. 2
0
 public void DeleteHiddenOrionDiscoveryProfilesByName(string profileName)
 {
     DiscoveryLogic.log.DebugFormat("Deleting hidden profile '{0}'", (object)profileName);
     using (IEnumerator <DiscoveryProfileEntry> enumerator = ((IEnumerable <DiscoveryProfileEntry>)DiscoveryProfileEntry.GetProfilesByName(profileName)).Where <DiscoveryProfileEntry>((Func <DiscoveryProfileEntry, bool>)(x => x.get_IsHidden())).GetEnumerator())
     {
         while (((IEnumerator)enumerator).MoveNext())
         {
             this.DeleteDiscoveryProfileInternal(enumerator.Current);
         }
     }
 }