public InlineAdapter(IParameterDescriptor parameter, IParameterizedObjectFactory factory, Panel container, PresentedParameter[] subParameters) { _parameter = parameter; _factory = factory; _container = container; _subParameters = subParameters; }
public Adapter([NotNull] IParameterDescriptor parameter, [NotNull] IParameterizedObjectFactory factory, [NotNull] ParameterViewModel[] subParamViewModels) { _parameter = parameter; _factory = factory; _subParamViewModels = subParamViewModels; foreach (var subParam in subParamViewModels) { subParam.ValueChanged += SubParam_OnValueChanged; } }