blob: ad410d75653b61e9d3833139c555839c6ae331ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
import { FieldController } from "./FieldController"
import { Utils } from "../Utils";
export class KeyController extends FieldController {
get Name():string {
return this.name;
}
constructor(private name:string){
super(Utils.GenerateDeterministicGuid(name));
}
TrySetValue(value: any): boolean {
throw new Error("Method not implemented.");
}
GetValue() {
return this.Name;
}
Copy(): FieldController {
return this;
}
}
export namespace KeyStore {
export let Prototype = new KeyController("Prototype");
}
|