Пример #1
0
 // Token: 0x06002462 RID: 9314 RVA: 0x0007B548 File Offset: 0x00079748
 public void method_16(IEnumerable <Class338> data)
 {
     this.method_7();
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     if (!this.bool_2)
     {
         throw new InvalidOperationException("The index has not been loaded.");
     }
     foreach (Class338 @class in data)
     {
         Class136.Class339 class2 = @class as Class136.Class339;
         if (class2 == null)
         {
             throw new ArgumentException("Item is not MultiFileDataDetails.");
         }
         if (!this.dictionary_0.ContainsValue(class2))
         {
             throw new ArgumentException("The item was not loaded from the MultiFile.");
         }
         Class136.smethod_11(this.stream_0, this.binaryReader_0, class2);
     }
 }
Пример #2
0
 // Token: 0x06002466 RID: 9318 RVA: 0x0007B83C File Offset: 0x00079A3C
 private static void smethod_10(Stream str, BinaryReader reader, Dictionary <string, Class338> data)
 {
     Class338[] array = data.Values.ToArray <Class338>();
     for (int i = 0; i < array.Length; i++)
     {
         Class136.smethod_11(str, reader, array[i] as Class136.Class339);
     }
 }
Пример #3
0
 // Token: 0x06002468 RID: 9320 RVA: 0x0007B874 File Offset: 0x00079A74
 private static void smethod_12(Stream str, BinaryReader reader, Dictionary <string, Class338> data, IEnumerable <string> names)
 {
     using (IEnumerator <string> enumerator = names.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             if (data.ContainsKey(enumerator.Current))
             {
                 Class136.smethod_11(str, reader, data[enumerator.Current] as Class136.Class339);
             }
         }
     }
 }
Пример #4
0
 // Token: 0x06002461 RID: 9313 RVA: 0x0007B4D4 File Offset: 0x000796D4
 public void method_15(Class338 data)
 {
     this.method_7();
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     if (!this.bool_2)
     {
         throw new InvalidOperationException("The index has not been loaded.");
     }
     Class136.Class339 @class = data as Class136.Class339;
     if (@class == null)
     {
         throw new ArgumentException("data is not MultiFileDataDetails.");
     }
     if (!this.dictionary_0.ContainsValue(@class))
     {
         throw new ArgumentException("The data was not loaded from the MultiFile.");
     }
     Class136.smethod_11(this.stream_0, this.binaryReader_0, @class);
 }