public PromptItem(string promptName, string parameterName, ValidValue validValue, bool isDefaultAll) { _isDefaultAll = isDefaultAll; _promptName = promptName; _parameterName = parameterName; _validValue = validValue; }
public RootAsynchronousTreeNode( string promptName , string parameterName , ValidValue validValue , IChildTreeNodeService childTreeNodeService) : base(promptName , parameterName , validValue , childTreeNodeService , null) { }
public ITreeNode BuildRegularNodeFrom( string promptName , string parameterName , ValidValue validValue , ITreeNode parent , bool hasChildLevel) { if(hasChildLevel) { return new AsynchronousTreeNode(promptName, parameterName, validValue, _childTreeNodeService, parent); } return new LeafTreeNode(promptName, parameterName, validValue, parent); }
protected TreeNode( string promptName , string parameterName , ValidValue validValue , ObservableCollection<ITreeNode> children, ITreeNode parent, bool isEnabled, bool isDefaultAll) : base(promptName , parameterName , validValue , isDefaultAll) { _children = children; _parent = parent; _isEnabled = isEnabled; }
public LeafTreeNode( string promptName , string parameterName , ValidValue validValue , ITreeNode parent) : base(promptName , parameterName , validValue , new ObservableCollection<ITreeNode>() , parent , true , false) { }
public AsynchronousTreeNode( string promptName , string parameterName , ValidValue validValue , IChildTreeNodeService childTreeNodeService , ITreeNode parent) : base(promptName , parameterName , validValue , new ObservableCollection<ITreeNode>(new[] { new LoadingTreeNode() }) , parent , true , false) { _childTreeNodeService = childTreeNodeService; _childrenHaveBeenSet = false; _childTreeNodeService.ErrorGettingChildTreeNodes += OnErrorGettingChildTreeNodes; }
public void Setup() { _validValue = A.ValidValue().WithLabel("Label").WithValue("Value").Build(); _fakeChildTreeNodeService = new FakeChildTreeNodeService(); _asynchronousTreeNode = new AsynchronousTreeNode( PromptName , ParameterName , _validValue , _fakeChildTreeNodeService.Object , null); }
public void Setup() { _validValue = new ValidValue {Label = "Label", Value = "Value"}; _childTreeNodeService = new Mock<IChildTreeNodeService>(); _rootAsynchronousTreeNode = new RootAsynchronousTreeNode(PromptName, ParameterName, _validValue, _childTreeNodeService.Object); }
public SearchablePromptItem(string promptName, string parameterName, ValidValue validValue, bool isDefaultAll) : base(promptName, parameterName, validValue, isDefaultAll) { }
public void Setup() { _validValue = new ValidValue { Label = "Lable", Value = "Value" }; _leafTreeNode = new LeafTreeNode("Prompt Name", "Parameter Name", _validValue, null); }