Interface for all ConfigMergeServices built for the ValidatorConfig.

interface IValidatorConfigMergeService {
    identifyHandler: ConditionConflictIdentifierHandler;
    serviceName: string;
    services: IServices;
    setPropertyConflictRule(propertyName, rule): void;
    getNoChangePropertyNames(): string[];
    merge(source, destination): void;
    identifyValidatorConflict(source, destinations, identity): undefined | ValidatorConfig;
    dispose(): void;
}

Hierarchy (view full)

Implemented by

Properties

Provides a function to determine if the validatorSrc is in conflict with one in the destination. It must always be set, and defaults to identifyValidatorConflict().

serviceName: string
services: IServices

Provides access to services.

Methods

  • If the user needs to abandon this instance, they should use this to clean up active resources (like timers) and to release memory that would stall the garbage collector from disposing this object. It should assign any object reference to undefined as a strong indicator that the object has been disposed.

    Returns void

Generated using TypeDoc v0.25.12