Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
@inject(TYPES.EventsConsumedByConnectedCDA) private readonly _dependencies: EventsConsumedByStackTrace,
// TODO DIEGO: @multiInject(new LazyServiceIdentifer(() => TYPES.IStackTracePresentationLogicProvider)) private readonly _stackTracePresentationLogicProviders: IStackTracePresentationLogicProvider[],
@inject(new LazyServiceIdentifer(() => TYPES.IStackTracePresentationLogicProvider)) private readonly _stackTracePresentationLogicProviders: IStackTracePresentationLogicProvider[],
@inject(TYPES.IAsyncDebuggingConfiguration) private readonly _breakpointFeaturesSupport: IAsyncDebuggingConfiguration) {
}
}
constructor(
public other1: OtherModel,
@Scope(Transient) public other2: OtherModel,
@Inject(OtherModel) @Scope(Transient) public other3: OtherModel,
@Inject(new LazyServiceIdentifer(() => OtherModel))
@Scope(Transient)
public other4: OtherModel,
) {
super()
}
constructor(
@inject(new LazyServiceIdentifer(() => TYPES.ConnectedCDAConfiguration)) private readonly _configuration: ConnectedCDAConfiguration,
@inject(TYPES.IEventsToClientReporter) private readonly _eventsToClientReporter: IEventsToClientReporter,
@inject(PrivateTypes.CurrentBPRecipesForSourceRegistry) private readonly _clientCurrentBPRecipesRegistry: BPRsDeltaCalculatorFromStoredBPRs,
@inject(PrivateTypes.SingleBreakpointSetterWithHitCountSupport) private readonly _singleBreakpointSetter: SingleBreakpointSetterWithHitCountSupport,
@inject(PrivateTypes.CurrentBPRecipeStatusRetriever) private readonly _currentBPRecipeStatusRetriever: CurrentBPRecipeStatusRetriever,
@inject(new LazyServiceIdentifer(() => PrivateTypes.PauseScriptLoadsToSetBPs)) private readonly _pauseScriptLoadsToSetBPs: PauseScriptLoadsToSetBPs,
@inject(PrivateTypes.BPRecipeStatusCalculator) private readonly _bpRecipeStatusCalculator: BPRecipeStatusCalculator) {
this._bpRecipeStatusCalculator.bpRecipeStatusChangedListeners.add(bpRecipe => this.onBPRecipeStatusChanged(bpRecipe));
this._singleBreakpointSetter.bpRecipeStatusChangedListeners.add(bpRecipe => this.onBPRecipeStatusChanged(bpRecipe));
this._singleBreakpointSetter.setOnPausedForBreakpointCallback(async _bpRecipes => new HitBreakpoint(this._eventsToClientReporter));
this._singleBreakpointSetter.setBPRecipeWasResolvedCallback(bpRecipeWasResolved => {
this._bpRecipeStatusCalculator.bpRecipeIsResolved(bpRecipeWasResolved);
this._pauseScriptLoadsToSetBPs.bpRecipeIsResolved(bpRecipeWasResolved);
});
}
constructor(
@inject(TYPES.EventsConsumedByConnectedCDA) private readonly _dependencies: EventsConsumedBySkipFilesLogic,
@inject(TYPES.CDTPDiagnostics) private readonly chrome: CDTPDiagnostics,
@inject(TYPES.DeleteMeScriptsRegistry) private readonly _scriptsRegistry: DeleteMeScriptsRegistry,
@inject(new LazyServiceIdentifer(() => TYPES.StackTracesLogic)) private readonly stackTracesLogic: StackTracesLogic,
@inject(TYPES.BaseSourceMapTransformer) private readonly sourceMapTransformer: BaseSourceMapTransformer,
@inject(TYPES.BasePathTransformer) private readonly pathTransformer: BasePathTransformer,
) { }
}