public void RunAfterTime(Number_js Time, params Ref_js[] Parameters)
        {
            var Action = js.Declare[() =>
                                    { this.Run(); }];

            js.Run("setTimeout", Action, Time);
        }
 public String_js substring(Number_js Start, Number_js End)
 {
     return(new String_js()
     {
         HowGet = HowGet + ".substring(" + Start.HowGet + "," + End.HowGet + ")"
     });
 }
        public void RunEveryTime(Number_js Time, params Ref_js[] Parameters)
        {
            var Action = js.Declare[() =>
                                    { this.Run(); }
                         ];

            js.Run("setInterval", Action, Time);
        }
Пример #4
0
 public t this[Number_js Position]
 {
     get
     {
         var Result = new t();
         Result.Name = this.HowGet + "[" + Position.HowGet + "]";
         return(Result);
     }
     set
     {
         this[Position].Set(value);
     }
 }
 public void Set(Number_js Value)
 {
     HowSet(Value.HowGet);
 }