Angular Modernizer
    Preparing search index...

    Metadata of a ServiceDipViolationRule result.

    interface ServiceDipViolationMetadata {
        confidence: number;
        injectedClass: string;
        injectedLayer?: string;
        injectingClass: string;
        injectingLayer?: string;
        isBidirectional: boolean;
        isCrossLayer: boolean;
        parameterName: string;
        suggestedInterfaceName: string;
        violationType: "concrete-injection";
    }
    Index

    Properties

    confidence: number

    Detection confidence (0..1); currently always 0.95.

    injectedClass: string

    Concrete @Injectable class used as the parameter type.

    injectedLayer?: string

    Layer of the injected file, when a known layer segment is in its path.

    injectingClass: string

    @Injectable class whose constructor injects it.

    injectingLayer?: string

    Layer of the injecting file, when a known layer segment is in its path.

    isBidirectional: boolean

    Reserved for mutual injection; currently always false.

    isCrossLayer: boolean

    Whether both layers are known and differ.

    parameterName: string

    Name of the constructor parameter.

    suggestedInterfaceName: string

    Suggested interface name: I + injected class name.

    violationType: "concrete-injection"

    Always concrete-injection.