Exemplo n.º 1
0
        public object Clone()
        {
            //asserter.silent(()->super.clone()); // TODO
            var newTable = new Table();

            newTable.Rows    = Rows.Clone(new Rows(), newTable);
            newTable.Columns = Columns.Clone(new Columns(), newTable);
            //newTable.avatar = new GetElementModule(getLocator(), getAvatar().context, newTable); // TODO
            return(newTable);
        }
Exemplo n.º 2
0
        public Table Clone()
        {
            var newTable = new Table();

            newTable.Rows    = Rows.Clone(new Rows(), newTable);
            newTable.Columns = Columns.Clone(new Columns(), newTable);
            newTable.Avatar  = new GetElementModule {
                ByLocator = Locator, Element = newTable
            };
            newTable.Parent = Parent;
            return(newTable);
        }