Exemplo n.º 1
0
        internal IntPtr method_1(string string_4)
        {
            Dictionary <string, IntPtr> dictionary;
            IntPtr ptr;

            if (!dictionary_4.TryGetValue(this.IntPtr_0, out dictionary))
            {
                dictionary_4.Add(this.IntPtr_0, new Dictionary <string, IntPtr>());
                dictionary = dictionary_4[this.IntPtr_0];
            }
            if (!dictionary.TryGetValue(string_4, out ptr))
            {
                ptr = Class272_0.method_34(this.IntPtr_0, string_4);
                if (ptr != IntPtr.Zero)
                {
                    dictionary.Add(string_4, ptr);
                }
            }
            return(ptr);
        }
Exemplo n.º 2
0
        internal static IntPtr smethod_5(string string_4, string string_5, string string_6, string string_7)
        {
            Dictionary <string, IntPtr> dictionary;
            IntPtr ptr2;
            string key = string_6 + "." + string_7;

            if (!dictionary_5.TryGetValue(key, out dictionary))
            {
                dictionary_5.Add(key, new Dictionary <string, IntPtr>());
                dictionary = dictionary_5[key];
            }
            IntPtr ptr = smethod_3(string_4, string_5, string_6);

            if (!dictionary.TryGetValue(string_7, out ptr2))
            {
                ptr2 = Class272_0.method_34(ptr, string_7);
                if (ptr2 != IntPtr.Zero)
                {
                    dictionary.Add(string_7, ptr2);
                }
            }
            return(ptr2);
        }