Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
router,
regionManager: RegionManager,
initialState: BlotterState // needs to be last due to how it's resolved via the container
) {
super(IdFactory.createId('blotterModel'), router);
this._regionManager = regionManager;
this._initialState = initialState;
}
constructor(
router,
regionManager: RegionManager,
initialState: CashTileState // needs to be last due to how it's resolved via the container
) {
super(IdFactory.createId('cashTileModel'), router);
this._regionManager = regionManager;
this._initialState = initialState;
}
constructor(
router,
regionManager:RegionManager,
initialState:CashTileState // needs to be last due to how it's resolved via the container
) {
super(IdFactory.createId('cashTileModel'), router);
this._regionManager = regionManager;
this._initialState = initialState;
}
public getTitle(): string {
_createView(childContainer, state: CashTileModel): PolimerModel {
_log.verbose('Creating cash tile model');
const modelId = IdFactory.createId('cashTileModel');
const initialModel = state || defaultModelFactory(modelId, 'EURUSD');
let model = this._router
// ***************************
// Create a model and setup some initial state
.modelBuilder()
.withInitialModel(initialModel)
// ***************************
// Wire up state handlers.
// 2 methods are supported.
// 1) Simple handler objects
.withStateHandlerMap('rootState', rootStateHandlerMap)
.withStateHandlerMap('referenceData', referenceDataStateHandlerMap)
constructor(router,
private _moduleLoader: ModuleLoader,
private _workspaceRegion:MultiItemRegionModel,
private _blotterRegion:SingleItemRegionModel
) {
super(IdFactory.createId('shellModelId'), router);
this.splashScreen = {
state: SplashScreenState.Default
};
}
constructor(router,
private _moduleLoader: ModuleLoader,
private _workspaceRegion: MultiItemRegionModel,
private _blotterRegion: SingleItemRegionModel
) {
super(IdFactory.createId('shellModelId'), router);
this.splashScreen = {
state: SplashScreenState.Default
};
}