IMergeStrategy Interface
Interface for applying properties to a target using a specific strategy.
Methods
apply(target: json, source: json, allowedKeys: string[]): voiddef apply(self, target: Any, source: Any, allowed_keys: typing.List[str]) -> Nonepublic void apply(Object target, Object source, List<String> allowedKeys)public void Apply(object target, object source, string[] allowedKeys)func Apply(Target interface{}, Source interface{}, AllowedKeys *[]*string)#Apply properties from source to target for the given keys.
3 parameters
Parameters
targettargettargettargetTarget— - The construct to apply properties to.sourcesourcesourcesourceSource— - The property values to apply.allowedKeysallowed_keysallowedKeysallowedKeysAllowedKeys— - Only properties whose names are in this list will be read fromsourceand written totarget.