public GridPartitioning() { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; }
public GridPartitioning(GridPartitioning from) { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; CopyFrom(from); }
protected override IEnumerable<Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName() { if (null != _xPartitioning) yield return new Main.DocumentNodeAndName(_xPartitioning, () => _xPartitioning = null, "XPartitioning"); if (null != _yPartitioning) yield return new Main.DocumentNodeAndName(_yPartitioning, () => _yPartitioning = null, "YPartitioning"); }