2021-08-02 15:58:05 +02:00
|
|
|
public lib Preview.Classes {
|
|
|
|
public class Test {
|
|
|
|
private var _name: string;
|
|
|
|
|
|
|
|
public constructor(name: string) {
|
|
|
|
this._name = name;
|
|
|
|
}
|
|
|
|
|
2021-10-28 22:29:00 +02:00
|
|
|
public func getName(): string {
|
2021-08-02 15:58:05 +02:00
|
|
|
return this._name;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|