Exemple #1
0
 // Token: 0x06002023 RID: 8227 RVA: 0x0006AC18 File Offset: 0x00068E18
 public bool method_4(Struct21 hotkey, out Class183 state)
 {
     lock (Class318.object_0)
     {
         foreach (Class318.Class184 @class in this.dictionary_0.Values)
         {
             if (Struct21.smethod_0(@class.Hotkey, hotkey))
             {
                 state = @class;
                 return(true);
             }
         }
     }
     state = null;
     return(false);
 }
Exemple #2
0
        // Token: 0x06002029 RID: 8233 RVA: 0x0006AD44 File Offset: 0x00068F44
        public bool method_10(Class183 state)
        {
            bool result;

            lock (Class318.object_0)
            {
                Class318.Class184 @class = state as Class318.Class184;
                if (!this.dictionary_0.ContainsKey(@class.ID))
                {
                    throw new ArgumentException("The specified hotkey does not exist in this component.");
                }
                this.dictionary_0.Remove(@class.ID);
                Class318.dictionary_1.Remove(@class.ID);
                result = this.method_14(@class);
            }
            return(result);
        }
 public abstract void Visit(Class183 c);
 public override void Visit(Class183 c) { }
 // Token: 0x06001AA7 RID: 6823 RVA: 0x0000994B File Offset: 0x00007B4B
 public EventArgs18(Class183 state)
 {
     this.State = state;
 }