Esempio n. 1
0
 public ClientTreeViewItemModel Clone()
 {
     ClientTreeViewItemModel clone = new ClientTreeViewItemModel
         {
             id = this.id,
             imageUrl = this.imageUrl,
             spriteCssClass = this.spriteCssClass,
             text = this.text,
             expanded = this.expanded,
             hasChildren = this.hasChildren
         };
     return clone;
 }
Esempio n. 2
0
        public ClientTreeViewItemModel Clone()
        {
            ClientTreeViewItemModel clone = new ClientTreeViewItemModel
            {
                id             = this.id,
                imageUrl       = this.imageUrl,
                spriteCssClass = this.spriteCssClass,
                text           = this.text,
                expanded       = this.expanded,
                hasChildren    = this.hasChildren
            };

            return(clone);
        }