示例#1
0
 public FREObject Load(FREContext ctx, uint argc, FREObject[] argv)
 {
     try {
         _view.Load(argv[0].AsString());
     }
     catch (Exception e) {
         return(new FreException(e).RawValue);
     }
     return(FREObject.Zero);
 }
示例#2
0
 public FREObject Load(FREContext ctx, uint argc, FREObject[] argv)
 {
     try {
         _view.Load(Convert.ToString(new FreObjectSharp(argv[0]).Value));
     }
     catch (Exception e) {
         return(new FreException(e).RawValue);
     }
     return(FREObject.Zero);
 }
示例#3
0
 public FREObject Load(FREContext ctx, uint argc, FREObject[] argv)
 {
     _view.Load(Convert.ToString(new FreObjectSharp(argv[0]).Value));
     return(FREObject.Zero);
 }
示例#4
0
 public FREObject Load(FREContext ctx, uint argc, FREObject[] argv)
 {
     _view.Load(new FreObjectSharp(argv[0]).GetAsString());
     return(FREObject.Zero);
 }