本文整理匯總了TypeScript中ng-jhipster.JhiLanguageService.setLocations方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript JhiLanguageService.setLocations方法的具體用法?TypeScript JhiLanguageService.setLocations怎麽用?TypeScript JhiLanguageService.setLocations使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ng-jhipster.JhiLanguageService
的用法示例。
在下文中一共展示了JhiLanguageService.setLocations方法的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: constructor
constructor(
private eventManager: EventManager,
private jhiLanguageService: JhiLanguageService,
private alertService: AlertService,
private productService: ProductService,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['product']);
this.jhiLanguageService.setLocations(['productOption']);
}
示例2: constructor
constructor(
public activeModal: NgbActiveModal,
private eventManager: EventManager,
private jhiLanguageService: JhiLanguageService,
private alertService: AlertService,
private productService: ProductService,
private dataUtils: DataUtils,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['product']);
this.jhiLanguageService.setLocations(['productOption']);
this.isSaving = false;
this.optionIds = new Array();
}
示例3: constructor
constructor(
private eventManager: EventManager,
private jhiLanguageService: JhiLanguageService,
private alertService: AlertService,
private productService: ProductService,
private attachmentService: AttachmentService,
private dataUtils: DataUtils,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['product']);
this.jhiLanguageService.setLocations(['attachment']);
this.isSaving = false;
}
示例4: constructor
constructor(
private route: ActivatedRoute,
private jhiLanguageService: JhiLanguageService,
private loginModalService: LoginModalService
) {
this.jhiLanguageService.setLocations(['social']);
}
示例5: constructor
constructor(
private jhiLanguageService: JhiLanguageService,
private userService: UserService,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['user-management']);
}
示例6: constructor
constructor(
private jhiLanguageService: JhiLanguageService,
private sessionsService: SessionsService,
private principal: Principal
) {
this.jhiLanguageService.setLocations(['sessions']);
}
示例7: constructor
constructor(
private jhiLanguageService: JhiLanguageService,
private commentService: CommentService,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['comment']);
}
示例8: constructor
constructor(
private jhiLanguageService: JhiLanguageService,
private postService: PostService,
private route: ActivatedRoute
) {
this.jhiLanguageService.setLocations(['post']);
}
示例9: constructor
constructor(
private jhiLanguageService: JhiLanguageService,
private passwordService: Password,
private principal: Principal
) {
this.jhiLanguageService.setLocations(['password']);
}
示例10: ngOnInit
ngOnInit() {
this.languageService.setLocations(['social', 'register', 'login', 'home']);
this.label = this.provider.charAt(0).toUpperCase() + this.provider.slice(1);
this.providerSetting = this.socialService.getProviderSetting(this.provider);
this.providerURL = this.socialService.getProviderURL(this.provider);
this.csrf = this.csrfService.getCSRF();
}