2019-12-15 18:07:25 +09:00
|
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
|
|
|
|
import { DaesangCipherService } from './services/daesang-cipher.service';
|
2019-12-15 21:36:12 +09:00
|
|
|
import { DaesangProtocolService } from './services/daesang-protocol.service';
|
2019-12-15 18:07:25 +09:00
|
|
|
|
2019-12-15 21:36:12 +09:00
|
|
|
const SERVICES = [DaesangCipherService, DaesangProtocolService];
|
2019-12-15 18:07:25 +09:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [],
|
|
|
|
imports: [],
|
|
|
|
exports: []
|
|
|
|
})
|
|
|
|
export class UCapDaesangModule {
|
|
|
|
public static forRoot(): ModuleWithProviders<UCapDaesangModule> {
|
|
|
|
return {
|
|
|
|
ngModule: UCapDaesangModule,
|
|
|
|
providers: [...SERVICES]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|