private ChangeComponentFunction(ControlPath path, string propertyName, FunctionNode func, CustomPropertyJson customProperty, bool wasRemoved) { ControlPath = path; PropertyName = propertyName; _func = func; _customProperty = customProperty; _wasRemoved = wasRemoved; }
private ChangeProperty(ControlPath path, string propertyName, string expression, CustomPropertyJson customProperty, bool wasRemoved) { ControlPath = path; PropertyName = propertyName; _expression = expression; _customProperty = customProperty; _wasRemoved = wasRemoved; }
public static ChangeComponentFunction GetFunctionChangeWithMetadata(ControlPath path, string propertyName, FunctionNode func, CustomPropertyJson customProperty) { return(new ChangeComponentFunction(path, propertyName, func, customProperty, false)); }
public static ChangeProperty GetComponentCustomPropertyChange(ControlPath path, string propertyName, string expression, CustomPropertyJson customProperty) { return(new ChangeProperty(path, propertyName, expression, customProperty, false)); }