我是Flash编程新手。 我正试图用外部类重建我的应用程序结构。 在这个过程中,我复制并粘贴在外部类中包含一个循环我的代码块,但我得到了一个错误: Impossibile to use the "this" keyword in static methods.
我如何转换我的代码,使其加工? 在此先感谢!
我使用的是第三方调度在我的项目 这里是例子,http://scheduler-net.com/docs/simple_.net_application_with_scheduler.html public ActionResult Index()
{
var scheduler = new DHXScheduler(this);
scheduler.Loa
我意外地在setter,getter方法中遗漏了这个关键字。这导致了一些莫名其妙的错误:(Chrome浏览器测试,火狐) 案例1: let user = {
name: "John",
set fullName(value) {
name = value;
},
get fullName() {
return name;