behaviorDiagnostic
Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.
behaviorDiagnostic(
context,behaviorName,violation):PipelineBehaviorDiagnostic[]
Defined in: packages/pipeline/src/interfaces/pipeline-behavior-contract.interface.ts:74
The one diagnostic a contract validator returns for a violation, named after the handler under validation.
Parameters
Section titled “Parameters”context
Section titled “context”Pick<PipelineBehaviorValidationContext, "handlerName">
behaviorName
Section titled “behaviorName”string
The behavior that reports it, such as CacheBehavior.name.
violation
Section titled “violation”Pick<PipelineBehaviorDiagnostic, "message" | "fix">