public OperationViewModel(string name, Maybe <string> maybeDependencyName, string operationEntryParentComponentInstanceName, OperationCommandFactory operationCommandFactory, OperationPropertiesViewModelBuilder operationPropertiesViewModelBuilder, OperationStateMachine operationStateMachine)
        {
            Name = name;
            ComponentInstanceName    = operationEntryParentComponentInstanceName;
            _propertyListBuilder     = operationPropertiesViewModelBuilder;
            _maybeDependencyName     = maybeDependencyName;
            _operationCommandFactory = operationCommandFactory;
            _operationStateMachine   = operationStateMachine;

            if (_maybeDependencyName.HasValue)
            {
                _operationStateMachine.Initial(this);
            }
            else
            {
                _operationStateMachine.Ready(this);
            }
        }
 public void AddParametersTo(OperationPropertiesViewModelBuilder operationPropertiesViewModelBuilder)
 {
     InnerOperation.InitializeParametersIn(operationPropertiesViewModelBuilder);
 }