private ChangeComponentFunction(ControlPath path, string propertyName, FunctionNode func, CustomPropertyJson customProperty, bool wasRemoved)
 {
     ControlPath     = path;
     PropertyName    = propertyName;
     _func           = func;
     _customProperty = customProperty;
     _wasRemoved     = wasRemoved;
 }
Пример #2
0
 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));
 }
Пример #4
0
 public static ChangeProperty GetComponentCustomPropertyChange(ControlPath path, string propertyName, string expression, CustomPropertyJson customProperty)
 {
     return(new ChangeProperty(path, propertyName, expression, customProperty, false));
 }