Example #1
0
        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);
        }
Example #2
0
 public BetTreeNodeModel(BetTreeModel tree, BetTreeNodeDisplay display, BetTreeNodeStyle style, HandSnapshotModel snapshot, BetTreeNodeModel parent)
     : this(tree, display, style, snapshot, parent, false)
 {
 }
Example #3
0
 public BetTreeNodeModel(BetTreeModel tree, BetTreeNodeDisplay display, BetTreeNodeStyle style, HandSnapshotModel snapshot)
     : this(tree, display, style, snapshot, null)
 {
 }