示例#1
0
        public static int RunSTAThread(ParameterizedThreadStart Method, object Parameter)
        {
            IronThread IT = new IronThread(Method, Parameter);

            IT.STAMode = true;
            return(IT.StartThread());
        }
示例#2
0
        public static int RunSTAThread(ThreadStart Method)
        {
            IronThread IT = new IronThread(Method);

            IT.STAMode = true;
            return(IT.StartThread());
        }
示例#3
0
 public static int Run(ParameterizedThreadStart Method, object Parameter)
 {
     IronThread IT = new IronThread(Method, Parameter);
     return IT.StartThread();
 }
示例#4
0
 //IronRuby must use IronThread.Run(lambda{method_name}) for parameter less methods
 //IronRuby must use IronThread.Run(lambda{method_name('parameter')}) for methods with parameter
 public static int Run(ThreadStart Method)
 {
     IronThread IT = new IronThread(Method);
     return IT.StartThread();
 }
示例#5
0
        //IronRuby must use IronThread.Run(lambda{method_name}) for parameter less methods
        //IronRuby must use IronThread.Run(lambda{method_name('parameter')}) for methods with parameter
        public static int Run(ThreadStart Method)
        {
            IronThread IT = new IronThread(Method);

            return(IT.StartThread());
        }
示例#6
0
 public static int RunSTAThread(ParameterizedThreadStart Method, object Parameter)
 {
     IronThread IT = new IronThread(Method, Parameter);
     IT.STAMode = true;
     return IT.StartThread();
 }
示例#7
0
 public static int RunSTAThread(ThreadStart Method)
 {
     IronThread IT = new IronThread(Method);
     IT.STAMode = true;
     return IT.StartThread();
 }