Example #1
0
        public NavigationNode Clone()
        {
            NavigationNode current = new NavigationNode(this.Property)
            {
                Condition = this.Condition, Filter = this.Filter
            };

            if (this.Next != null)
            {
                current.Next = current.Clone();
            }

            return(current);
        }
Example #2
0
        public NavigationNode Clone()
        {
            NavigationNode current = new NavigationNode(this.Property)
            {
                Condition = this.Condition
            };

            current.ContextFilters.AddRange(this.ContextFilters);
            if (this.Next != null)
            {
                current.Next = current.Clone();
            }

            return(current);
        }