.net Oxygene中的命名空间别名
有没有办法在Oxygene.net中使用名称空间别名 即: C代码的Oxygene等价物是什么.net Oxygene中的命名空间别名,.net,oxygene,.net,Oxygene,有没有办法在Oxygene.net中使用名称空间别名 即: C代码的Oxygene等价物是什么 使用someOtherName=System.Timers.Timer?是的,这是可能的,只需像定义类型一样定义它即可。 例如: namespace ConsoleApplication37; interface type ConsoleApp = class public class method Main(args: array of String); end; so
使用someOtherName=System.Timers.Timer代码>?是的,这是可能的,只需像定义类型一样定义它即可。
例如:
namespace ConsoleApplication37;
interface
type
ConsoleApp = class
public
class method Main(args: array of String);
end;
someOtherName = System.Timers.Timer;
implementation
class method ConsoleApp.Main(args: array of String);
begin
var t1 := new someOtherName;
end;
end.