private static void Reset5(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()V
     // ()V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
         global::System.Collections.IDictionaryEnumerator @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::System.Collections.IDictionaryEnumerator>(@__env, @__obj);
         ((global::System.Collections.IEnumerator)(@__real)).Reset();
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
 }
 private static global::net.sf.jni4net.utils.JniHandle Current4(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()Lsystem/Object;
     // ()LSystem/Object;
     global::net.sf.jni4net.jni.JNIEnv      @__env    = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle);
     try {
         global::System.Collections.IDictionaryEnumerator @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::System.Collections.IDictionaryEnumerator>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.FullC2J <object>(@__env, ((global::System.Collections.IEnumerator)(@__real)).Current);
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }
 private static global::net.sf.jni4net.utils.JniHandle Entry2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()Lsystem/ValueType;
     // ()LSystem/Collections/DictionaryEntry;
     global::net.sf.jni4net.jni.JNIEnv      @__env    = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     global::net.sf.jni4net.utils.JniHandle @__return = default(global::net.sf.jni4net.utils.JniHandle);
     try {
         global::System.Collections.IDictionaryEnumerator @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::System.Collections.IDictionaryEnumerator>(@__env, @__obj);
         @__return = global::net.sf.jni4net.utils.Convertor.StrongC2Jp <global::System.Collections.DictionaryEntry>(@__env, @__real.Entry);
     }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
     return(@__return);
 }
        private static bool MoveNext3(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
        {
            // ()Z
            // ()Z
            global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
            bool @__return = default(bool);

            try {
                global::System.Collections.IDictionaryEnumerator @__real = global::net.sf.jni4net.utils.Convertor.FullJ2C <global::System.Collections.IDictionaryEnumerator>(@__env, @__obj);
                @__return = ((bool)(((global::System.Collections.IEnumerator)(@__real)).MoveNext()));
            }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); }
            return(@__return);
        }
Пример #5
0
    public static global::haxe.ds.StringMap <string> environment()
    {
                #line 60 "/opt/haxe/std/cs/_std/Sys.hx"
        if ((global::Sys._env == null))
        {
                        #line 61 "/opt/haxe/std/cs/_std/Sys.hx"
            global::haxe.ds.StringMap <string> e = global::Sys._env = new global::haxe.ds.StringMap <string>();
            global::System.Collections.IDictionaryEnumerator nenv = ((global::System.Collections.IDictionaryEnumerator)((global::System.Environment.GetEnvironmentVariables() as global::System.Collections.IEnumerable).GetEnumerator()));
                        #line 63 "/opt/haxe/std/cs/_std/Sys.hx"
            while ((nenv as global::System.Collections.IEnumerator).MoveNext())
            {
                                #line 64 "/opt/haxe/std/cs/_std/Sys.hx"
                e.@set(global::haxe.lang.Runtime.toString(nenv.Key), global::haxe.lang.Runtime.toString(nenv.Value));
            }
        }

                #line 68 "/opt/haxe/std/cs/_std/Sys.hx"
        return((global::haxe.ds.StringMap <string>)(global::Sys._env));
    }
Пример #6
0
        public static global::haxe.ds.StringMap environment()
        {
                        #line 60 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Sys.hx"
            if ((global::haxe.root.Sys._env == null))
            {
                                #line 61 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Sys.hx"
                global::haxe.ds.StringMap e = global::haxe.root.Sys._env = new global::haxe.ds.StringMap();
                global::System.Collections.IDictionaryEnumerator nenv = ((global::System.Collections.IDictionaryEnumerator)((global::System.Environment.GetEnvironmentVariables() as global::System.Collections.IEnumerable).GetEnumerator()));
                                #line 63 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Sys.hx"
                while ((nenv as global::System.Collections.IEnumerator).MoveNext())
                {
                                        #line 64 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Sys.hx"
                    e.@set(global::haxe.lang.Runtime.toString(nenv.Key), ((object)(nenv.Value)));
                }
            }

                        #line 68 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Sys.hx"
            return((global::haxe.ds.StringMap)(global::haxe.root.Sys._env));
        }