582
private _applicationSharedKeyTargets: IKeyTargets | undefined = undefined;
583
private get applicationSharedKeyTargets(): IKeyTargets {
584
>
if (!this._applicationSharedKeyTargets) {
storage.ts
585
>
this._applicationSharedKeyTargets = this.loadKeyTargets(StorageScope.APPLICATION_SHARED);
586
>
}
587
>
588
>
return this._applicationSharedKeyTargets;
589
>
}
590
591
private getKeyTargets(scope: StorageScope): IKeyTargets {
592
switch (scope) {
593
case StorageScope.APPLICATION_SHARED:
594
>
return this.applicationSharedKeyTargets;
storage.ts
595
case StorageScope.APPLICATION:
596
return this.applicationKeyTargets;