internal DataBindingModifier(DirectDataBinding <TLayerProperty, TProperty> directDataBinding, DataBindingModifierEntity entity) { DirectDataBinding = directDataBinding ?? throw new ArgumentNullException(nameof(directDataBinding)); Entity = entity; Load(); Initialize(); }
internal DataBindingModifier(DirectDataBinding <TLayerProperty, TProperty> directDataBinding, ProfileRightSideType parameterType) { DirectDataBinding = directDataBinding ?? throw new ArgumentNullException(nameof(directDataBinding)); Order = directDataBinding.Modifiers.Count + 1; ParameterType = parameterType; Entity = new DataBindingModifierEntity(); Initialize(); Save(); }