public BetTreeNodeModel(BetTreeModel tree, BetTreeNodeDisplay display, BetTreeNodeStyle style, HandSnapshotModel snapshot, BetTreeNodeModel parent, bool isDynamic) { this.Tree = tree; this.DisplayModel = display; this.StyleModel = style; this._parentSnapshot = snapshot; this.Snapshot = snapshot; this.Parent = parent; this.IsDynamic = isDynamic; this.Result = new BetTreeNodeResults(snapshot.Stacks.Length); this.Children = new ObservableCollection<BetTreeNodeModel>(); this.CanRemove = IsFixed() ? Visibility.Collapsed : Visibility.Visible; this.Info = new BetTreeNodeInfoModel(this, this.Data is ManualResultsModel); }
public BetTreeNodeModel(BetTreeModel tree, BetTreeNodeDisplay display, BetTreeNodeStyle style, HandSnapshotModel snapshot, BetTreeNodeModel parent) : this(tree, display, style, snapshot, parent, false) { }
public BetTreeNodeModel(BetTreeModel tree, BetTreeNodeDisplay display, BetTreeNodeStyle style, HandSnapshotModel snapshot) : this(tree, display, style, snapshot, null) { }